diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 156ccab7..b2c0b0df 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1134,6 +1134,7 @@ my $update_vm_api = sub { next; } my $is_pending_val = defined($conf->{pending}->{$opt}); + delete $conf->{pending}->{$opt}; if ($opt =~ m/^unused/) { my $drive = PVE::QemuServer::parse_drive($opt, $val);