From bcd5401accc491e154a96c05be3635751fbc3ef3 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Wed, 8 Apr 2020 11:25:08 +0200 Subject: [PATCH] Allow specifying targetstorage for offline migration Signed-off-by: Fabian Ebner --- PVE/API2/Qemu.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 87fbd72a..ec4c18cd 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -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}) {