virt-manager/virtinst-no-usb-tablet-for-xenpv.patch
Charles Arnold 4f703846c7 - Update to virt-manager 1.4.3 (bsc#1027942)
virt-manager-1.4.3.tar.bz2
  * Improve install of debian/ubuntu non-x86 media (Viktor Mihajlovski, Andrew Wong)
  * New virt-install –graphics listen.* (Pavel Hrdina)
  * New virt-install –disk snapshot_policy= (Pavel Hrdina)
  * New virt-install –cpu cache.* (Lin Ma)
  * Several bug fixes
- Dropped the following patch contained in new tarball
  e902fa55-force-binary-mode-with-FTP-servers.patch
  virt-manager-1.4.2.tar.bz2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=369
2017-09-20 14:28:03 +00:00

17 lines
633 B
Diff

With 1.4.2 the code no longer checks for xenpv when adding
a usb tablet which is only supported on xen hvm.
Index: virt-manager-1.4.3/virtinst/guest.py
===================================================================
--- virt-manager-1.4.3.orig/virtinst/guest.py
+++ virt-manager-1.4.3/virtinst/guest.py
@@ -660,7 +660,7 @@ class Guest(XMLBuilder):
usb_tablet = False
usb_keyboard = False
- if self.os.is_x86():
+ if self.os.is_x86() and not self.os.is_xenpv():
usb_tablet = self._os_object.supports_usbtablet()
if self.os.is_arm_machvirt():
usb_tablet = True