my $fast_plug_option = {
'name' => 1,
- 'hotplug' => 1,
'onboot' => 1,
'shares' => 1,
'startup' => 1,
foreach my $opt (@delete) {
next if $selection && !$selection->{$opt};
eval {
- if ($opt eq 'tablet') {
+ if ($opt eq 'hotplug') {
+ die "skip\n" if ($conf->{hotplug} =~ /memory/);
+ } elsif ($opt eq 'tablet') {
die "skip\n" if !$hotplug_features->{usb};
if ($defaults->{tablet}) {
vm_deviceplug($storecfg, $conf, $vmid, $opt);
next if $selection && !$selection->{$opt};
my $value = $conf->{pending}->{$opt};
eval {
- if ($opt eq 'tablet') {
+ if ($opt eq 'hotplug') {
+ die "skip\n" if ($value =~ /memory/) || ($value !~ /memory/ && $conf->{hotplug} =~ /memory/);
+ } elsif ($opt eq 'tablet') {
die "skip\n" if !$hotplug_features->{usb};
if ($value == 1) {
vm_deviceplug($storecfg, $conf, $vmid, $opt);
qemu-server (3.3-15) unstable; urgency=low
* code cleanup: add foreach_dimm sub
+
+ * hotplug: memory hotplug option is not hotpluggable
-- Proxmox Support Team <support@proxmox.com> Mon, 09 Feb 2015 07:05:05 +0100