[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/virt-manager/devel virt-manager-hvm-check.patch, NONE, 1.1 virt-manager.spec, 1.17, 1.18



Author: berrange

Update of /cvs/dist/rpms/virt-manager/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11212

Modified Files:
	virt-manager.spec 
Added Files:
	virt-manager-hvm-check.patch 
Log Message:
Patch to ignore HVM check for QEMU

virt-manager-hvm-check.patch:
 create.py  |    9 +++++----
 create.py~ |only
 2 files changed, 5 insertions(+), 4 deletions(-)

--- NEW FILE virt-manager-hvm-check.patch ---
diff -rup virt-manager-0.3.1-orig/src/virtManager/create.py virt-manager-0.3.1-new/src/virtManager/create.py
--- virt-manager-0.3.1-orig/src/virtManager/create.py	2007-02-20 15:21:37.000000000 -0500
+++ virt-manager-0.3.1-new/src/virtManager/create.py	2007-02-20 16:43:02.000000000 -0500
@@ -688,10 +688,11 @@ class vmmCreate(gobject.GObject):
 
 
         elif page_num == 2: # the virt method page
-            if self.get_config_method() == VM_FULLY_VIRT and not virtinst.util.is_hvm_capable():
-                self._validation_error_box(_("Hardware Support Required"), \
-                                           _("Your hardware does not appear to support full virtualization. Only paravirtualized guests will be available on this hardware."))
-                return False
+            if self.get_config_method() == VM_FULLY_VIRT:
+                if self.connection.get_type() != "QEMU" and not virtinst.util.is_hvm_capable():
+                    self._validation_error_box(_("Hardware Support Required"), \
+                                               _("Your hardware does not appear to support full virtualization. Only paravirtualized guests will be available on this hardware."))
+                    return False
 
         elif page_num == 3: # the fully virt media page
             if self.window.get_widget("media-iso-image").get_active():
Only in virt-manager-0.3.1-new/src/virtManager: create.py~


Index: virt-manager.spec
===================================================================
RCS file: /cvs/dist/rpms/virt-manager/devel/virt-manager.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- virt-manager.spec	20 Feb 2007 21:14:18 -0000	1.17
+++ virt-manager.spec	20 Feb 2007 22:04:34 -0000	1.18
@@ -8,7 +8,7 @@
 
 Name: virt-manager
 Version: 0.3.1
-Release: 1%{_extra_release}
+Release: 2%{_extra_release}
 Summary: Virtual Machine Manager
 
 Group: Applications/Emulators
@@ -17,6 +17,7 @@
 Source0: http://virt-manager.et.redhat.com/download/sources/%{name}/%{name}-%{version}.tar.gz
 Source1: %{name}.pam
 Source2: %{name}.console
+Patch1: %{name}-hvm-check.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # These two are just the oldest version tested
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure
@@ -148,6 +150,9 @@
 %{_datadir}/dbus-1/services/%{name}.service
 
 %changelog
+* Tue Feb 20 2007 Daniel P. Berrange <berrange redhat com> - 0.3.1-2.fc7
+- Only check for HVM on Xen hypervisor
+
 * Tue Feb 20 2007 Daniel P. Berrange <berrange redhat com> - 0.3.1-1.fc7
 - Added support for managing QEMU domains
 - Automatically grab mouse pointer to workaround dual-cursor crazyness


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]