virt-manager/virtinst-smbios-unsupported-for-xenpv.patch
Charles Arnold 16b0bd545c - bsc#1178926 - Unable to find any master var for loader
/usr/share/qemu/{bios.bin, bios-256k.bin}
  virtman-legacy-bios-support.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=541
2021-02-24 22:18:04 +00:00

16 lines
648 B
Diff

References: bsc#1180069
Index: virt-manager-3.2.0/virtinst/guest.py
===================================================================
--- virt-manager-3.2.0.orig/virtinst/guest.py
+++ virt-manager-3.2.0/virtinst/guest.py
@@ -704,6 +704,8 @@ class Guest(XMLBuilder):
self.type != "kvm"):
log.warning( # pragma: no cover
"KVM acceleration not available, using '%s'", self.type)
+ if self.os.is_xenpv() and self.os.smbios_mode is not None:
+ raise RuntimeError(_("The --sysinfo flag (smbios) is not supported for Xen PV guests."))
def sync_vcpus_topology(self):
"""