]> git.proxmox.com Git - qemu-server.git/commitdiff
vm start use new pve-qemu-machine standard option
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Nov 2019 07:54:07 +0000 (08:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Nov 2019 07:54:14 +0000 (08:54 +0100)
'pve-qm-machine' is auto-registered, but for re-use for a new
runningmachine we added the newer pve-qemu-machine standard option.
Use that one to avoid confusion.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm

index ed4e5228d39db00b9c1ee5e9c59742c271ff50fb..bd907cda995b9f54b649d304fa0a3bbf1dff4369 100644 (file)
@@ -1968,7 +1968,7 @@ __PACKAGE__->register_method({
                description => "CIDR of the (sub) network that is used for migration.",
                optional => 1,
            },
-           machine => get_standard_option('pve-qm-machine'),
+           machine => get_standard_option('pve-qemu-machine'),
            targetstorage => {
                description => "Target storage for the migration. (Can be '1' to use the same storage id as on the source node.)",
                type => 'string',