]> git.proxmox.com Git - qemu-server.git/commitdiff
Allow specifying targetstorage for offline migration
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 8 Apr 2020 09:25:08 +0000 (11:25 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 8 Apr 2020 20:11:54 +0000 (22:11 +0200)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm

index 87fbd72aaff7789d7da5f4b7569eceb9aa454078..ec4c18cde6e04810e5ef7acd87e3bd0cb90737ba 100644 (file)
@@ -3455,9 +3455,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 (my $targetstorage = $param->{targetstorage}) {