[pve-devel] [PATCH qemu-server] skip efidisk0 in hotplug

Oguz Bektas o.bektas at proxmox.com
Tue Nov 26 17:07:49 CET 2019


Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 PVE/QemuServer.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 5f248a3..75e4f67 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)) {
-- 
2.20.1




More information about the pve-devel mailing list