ae026a575b
* Merged code with python-virtinst. virtinst is no longer public * Port from GTK2 to GTK3 (Daniel Berrange, Cole Robinson) * Port from gconf to gsettings * Port from autotools to python distutils * Remove virt-manager-tui * Remove HAL support * IPv6 and static route virtual network support (Gene Czarcinski) * virt-install: Add –cpu host-passthrough (Ken ICHIKAWA, Hu Tao) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=129
16 lines
571 B
Diff
16 lines
571 B
Diff
Index: virt-manager-0.10.0/virtinst/CapabilitiesParser.py
|
|
===================================================================
|
|
--- virt-manager-0.10.0.orig/virtinst/CapabilitiesParser.py
|
|
+++ virt-manager-0.10.0/virtinst/CapabilitiesParser.py
|
|
@@ -130,7 +130,9 @@ class CPUValues(object):
|
|
child = child.next
|
|
|
|
def get_arch(self, arch):
|
|
- if re.match(r'i[4-9]86', arch):
|
|
+ if arch is None:
|
|
+ arch = "x86"
|
|
+ elif re.match(r'i[4-9]86', arch):
|
|
arch = "x86"
|
|
elif arch == "x86_64":
|
|
arch = "x86"
|