Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- PVE/QemuServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index a212183..10ed42b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3509,7 +3509,7 @@ sub vmconfig_hotplug_pending { my $changes = 0; foreach my $opt (keys %{$conf->{pending}}) { # add/change - if ($opt eq 'name' || $opt eq 'hotplug' || $opt eq 'onboot' || $opt eq 'shares') { + if ($opt eq 'name' || $opt eq 'hotplug' || $opt eq 'onboot' || $opt eq 'shares' || $opt eq 'startup') { $conf->{$opt} = $conf->{pending}->{$opt}; delete $conf->{pending}->{$opt}; $changes = 1; @@ -3540,7 +3540,7 @@ sub vmconfig_hotplug_pending { } elsif ($opt eq 'balloon') { #enable balloon device is not hotpluggable die "skip\n" if ((defined($conf->{balloon})) && ($conf->{balloon} == 0)); - } elsif ($opt eq 'shares') { + } elsif ($opt eq 'shares' || $opt eq 'startup' || $opt eq 'onboot' || $opt eq 'hotplug') { } elsif ($opt =~ m/^net(\d+)$/) { die "skip\n" if !$hotplug; vm_deviceunplug($vmid, $conf, $opt); -- 1.7.10.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel