diff --git a/virtinst-support-other-boot-methods.patch b/virtinst-support-other-boot-methods.patch index 887c60fa..cae98e75 100644 --- a/virtinst-support-other-boot-methods.patch +++ b/virtinst-support-other-boot-methods.patch @@ -3,9 +3,11 @@ Tell libvirt what machine type the user chose for Xen (PV or HVM). Without a type specified, the default is to return the capabilities of a pv machine. This will allow the UEFI Customize option to show up when Xen HVM is selected. Also specify the name of our aavmf firmware for aarch64. ---- virt-manager-1.3.2/virtinst/domcapabilities.py.orig 2016-06-14 16:08:52.000000000 -0600 -+++ virt-manager-1.3.2/virtinst/domcapabilities.py 2016-06-14 16:10:41.000000000 -0600 -@@ -73,10 +73,17 @@ class _Devices(_CapsBlock): +Index: virt-manager-1.3.2/virtinst/domcapabilities.py +=================================================================== +--- virt-manager-1.3.2.orig/virtinst/domcapabilities.py ++++ virt-manager-1.3.2/virtinst/domcapabilities.py +@@ -73,13 +73,20 @@ class _Devices(_CapsBlock): class DomainCapabilities(XMLBuilder): @staticmethod @@ -16,14 +18,18 @@ is selected. Also specify the name of our aavmf firmware for aarch64. conn.SUPPORT_CONN_DOMAIN_CAPABILITIES): + machine_type = machine + # For Xen capabilities pass either xenpv or xenfv -+ if hvtype == 'xen': ++ if hvtype == "xen": + if os_type == "hvm": + machine_type = "xenfv" + else: + machine_type = "xenpv" try: xml = conn.getDomainCapabilities(emulator, arch, - machine, hvtype) +- machine, hvtype) ++ machine_type, hvtype) + except: + logging.debug("Error fetching domcapabilities XML", + exc_info=True) @@ -92,7 +99,7 @@ class DomainCapabilities(XMLBuilder): @staticmethod def build_from_guest(guest):