]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/API2/Qemu.pm
add with-local-disks option for live storage migration
[qemu-server.git] / PVE / API2 / Qemu.pm
index 288a9cd14b6ac200f15051d4302d8262a5ac17a9..33b8f5adb2b31b0a54627864b7a3150ba0388809 100644 (file)
@@ -2723,10 +2723,16 @@ __PACKAGE__->register_method({
                description => "CIDR of the (sub) network that is used for migration.",
                optional => 1,
            },
-           targetstorage => get_standard_option('pve-storage-id', {
-               description => "Target storage.",
+           "with-local-disks" => {
+               type => 'boolean',
+               description => "Enable live storage migration for local disk",
                optional => 1,
-           }),
+           },
+            targetstorage => get_standard_option('pve-storage-id', {
+               description => "Default target storage.",
+               optional => 1,
+               completion => \&PVE::QemuServer::complete_storage,
+            }),
        },
     },
     returns => {