From 7a4bdb366211fce497ca48f3fa90fbc1fd467d80 Mon Sep 17 00:00:00 2001 From: Oguz Bektas Date: Tue, 26 Nov 2019 17:07:49 +0100 Subject: [PATCH] skip efidisk0 in hotplug while it's a disk from our storage POV, in QEMU it's a pflash, and those cannot be hot-plugged Signed-off-by: Oguz Bektas Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 5f248a30..75e4f67c 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4902,6 +4902,7 @@ sub vmconfig_hotplug_pending { vmconfig_update_net($storecfg, $conf, $hotplug_features->{network}, $vmid, $opt, $value, $arch, $machine_type); } elsif (is_valid_drivename($opt)) { + die "skip\n" if $opt eq 'efidisk0'; # some changes can be done without hotplug my $drive = parse_drive($opt, $value); if (drive_is_cloudinit($drive)) {