- bsc#1180069 - L3: virsh edit Error: XML document failed to
validate against schema: Unable to validate doc. virtinst-smbios-unsupported-for-xenpv.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=536
This commit is contained in:
parent
682ca2209d
commit
3a2fcd09c6
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 12:48:11 MST 2021 - carnold@suse.com
|
||||
|
||||
- bsc#1180069 - L3: virsh edit Error: XML document failed to
|
||||
validate against schema: Unable to validate doc.
|
||||
virtinst-smbios-unsupported-for-xenpv.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 5 13:10:18 MST 2021 - carnold@suse.com
|
||||
|
||||
|
@ -76,6 +76,7 @@ Patch175: virtinst-keep-install-iso-attached.patch
|
||||
Patch176: virtinst-dont-use-special-copy-cpu-features.patch
|
||||
Patch177: virtinst-set-default-nic.patch
|
||||
Patch178: virtinst-sap-detection.patch
|
||||
Patch179: virtinst-smbios-unsupported-for-xenpv.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -205,6 +206,7 @@ machine).
|
||||
%patch176 -p1
|
||||
%patch177 -p1
|
||||
%patch178 -p1
|
||||
%patch179 -p1
|
||||
|
||||
%build
|
||||
%if %{default_hvs}
|
||||
|
15
virtinst-smbios-unsupported-for-xenpv.patch
Normal file
15
virtinst-smbios-unsupported-for-xenpv.patch
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
||||
@@ -691,6 +691,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):
|
||||
"""
|
Loading…
Reference in New Issue
Block a user