diff --git a/python-virtinst.spec b/python-virtinst.spec index 26b906a..7b341da 100644 --- a/python-virtinst.spec +++ b/python-virtinst.spec @@ -17,16 +17,12 @@ Summary: Python modules and utilities for installing virtual machines Name: python-%{appname} Version: 0.500.3 -Release: 3%{_extra_release} +Release: 4%{_extra_release} Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz -# Enable x2apic for new KVM guests -Patch1: %{appname}-%{version}-use-x2apic.patch # Keep windows CDROM attached for second install stage -Patch2: %{appname}-%{version}-fix-windows-cdrom.patch +Patch1: %{appname}-%{version}-fix-windows-cdrom.patch # Fix pool source listing in virt-manager -Patch3: %{appname}-%{version}-poolsource-check.patch -# If host is 64bit, make sure VM always sees 64bit CPU (bz 611584) -Patch4: %{appname}-%{version}-64bit-flag.patch +Patch2: %{appname}-%{version}-poolsource-check.patch License: GPLv2+ Group: Development/Libraries @@ -56,8 +52,6 @@ and install new VMs) and virt-clone (clone an existing virtual machine). %setup -q -n %{appname}-%{version} %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 %build python setup.py build @@ -93,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/virt-convert %changelog +* Wed Jul 15 2010 Cole Robinson - 0.500.3-4.fc14 +- Drop default CPU config, fix some 64bit installs (bz 611584) + * Wed Jul 14 2010 Cole Robinson - 0.500.3-3.fc14 - If host is 64bit, make sure VM always sees 64bit CPU (bz 611584) diff --git a/virtinst-0.500.3-64bit-flag.patch b/virtinst-0.500.3-64bit-flag.patch deleted file mode 100644 index 2a4c543..0000000 --- a/virtinst-0.500.3-64bit-flag.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -rup virtinst-0.500.3/virtinst/Guest.py new/virtinst/Guest.py ---- virtinst-0.500.3/virtinst/Guest.py 2010-07-14 15:52:03.137472000 -0400 -+++ new/virtinst/Guest.py 2010-07-14 15:51:56.729949000 -0400 -@@ -728,6 +728,12 @@ class Guest(object): - xml += " \n" - xml += " %s\n" % model - xml += " \n" -+ -+ # If capabilities lists the 'lm' (64 bit) feature, we need -+ # to carry it over otherwise the guest will only see a 32bit cpu -+ if self._caps.host.cpu.features["lm"]: -+ xml += " \n" -+ - xml += " " - - return xml diff --git a/virtinst-0.500.3-use-x2apic.patch b/virtinst-0.500.3-use-x2apic.patch deleted file mode 100644 index 86a8d6d..0000000 --- a/virtinst-0.500.3-use-x2apic.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -rup virtinst-0.500.3/virtinst/Guest.py new/virtinst/Guest.py ---- virtinst-0.500.3/virtinst/Guest.py 2010-03-23 16:57:08.000000000 -0400 -+++ new/virtinst/Guest.py 2010-03-24 19:44:18.000000000 -0400 -@@ -720,8 +720,17 @@ class Guest(object): - """ - Return XML - """ -- # Just a stub for now -- return "" -+ xml = "" -+ is_kvm = self.type == "kvm" -+ model = self._caps.host.cpu.model -+ -+ if is_kvm and model: -+ xml += " \n" -+ xml += " %s\n" % model -+ xml += " \n" -+ xml += " " -+ -+ return xml - - def _get_clock_xml(self): - """