mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 21:14:59 +00:00
Allow specifying targetstorage for offline migration
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
37666e4caa
commit
bcd5401acc
@ -3455,9 +3455,6 @@ __PACKAGE__->register_method({
|
|||||||
$param->{online} = 0;
|
$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();
|
my $storecfg = PVE::Storage::config();
|
||||||
|
|
||||||
if (my $targetstorage = $param->{targetstorage}) {
|
if (my $targetstorage = $param->{targetstorage}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user