[pve-devel] [PATCH v3 qemu-server 16/22] Allow specifying targetstorage for offline migration

Fabian Ebner f.ebner at proxmox.com
Thu Mar 12 13:08:26 CET 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/API2/Qemu.pm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 3b61334..4828821 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -3381,9 +3381,6 @@ __PACKAGE__->register_method({
 	    $param->{online} = 0;
 	}
 
-	raise_param_exc({ targetstorage => "Live storage migration can only be done online." })
-	    if !$param->{online} && $param->{targetstorage};
-
 	my $storecfg = PVE::Storage::config();
 
 	if( $param->{targetstorage}) {
-- 
2.20.1





More information about the pve-devel mailing list