Proxmox-Port/packages/qemu-server/patches/015-remove-vmgenid-in-arm64.patch
2024-10-18 15:49:49 +08:00

14 lines
364 B
Diff

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index b26da505..fc8ca388 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3679,7 +3689,7 @@ sub config_to_command {
push @$cmd, $fixups->@*;
}
- if ($conf->{vmgenid}) {
+ if ($conf->{vmgenid} && $arch eq 'x86_64') {
push @$devices, '-device', 'vmgenid,guid='.$conf->{vmgenid};
}