8d6890f068
virt-manager-2.1.0.tar.bz2 virtman-fix-env-script-interpreter.patch * Bash autocompletion support (Lin Ma, Cole Robinson) * UI and command line –vsock support (Slavomir Kaslev) * virt-xml: Add –os-variant option (Andrea Bolognani) * virt-install: use libosinfo cpu, mem, disk size defaults (Fabiano Fidencio) * virt-install: Better usage of libosinfo -unknown distro IDs (Fabiano Fidencio) * virt-install: More usage of libosinfo for ISO –location detection * virt-install: Add –location LOCATION,kernel=X,initrd=Y for pointing to kernel/initrd in media that virt-install/libosinfo fails to detect - Drop 25b88733-urldetect-Dont-overload-suse_content-variable.patch 9308bae3-util-Fix-typo-vpcu-vcpu.patch b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch c30b3bc6-increase-timeout-for-vm-to-start.patch virtinst-use-latest-opensuse-version-when-unknown-media.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=456
55 lines
2.2 KiB
Diff
55 lines
2.2 KiB
Diff
References: fate#326698 - Add pvh support to virt-manager
|
|
|
|
Index: virt-manager-2.1.0/virtinst/domain/os.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtinst/domain/os.py
|
|
+++ virt-manager-2.1.0/virtinst/domain/os.py
|
|
@@ -32,6 +32,8 @@ class DomainOs(XMLBuilder):
|
|
return self.os_type == "hvm"
|
|
def is_xenpv(self):
|
|
return self.os_type in ["xen", "linux"]
|
|
+ def is_xenpvh(self):
|
|
+ return self.os_type in ["xenpvh", "linux"]
|
|
def is_container(self):
|
|
return self.os_type == "exe"
|
|
|
|
Index: virt-manager-2.1.0/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtinst/guest.py
|
|
+++ virt-manager-2.1.0/virtinst/guest.py
|
|
@@ -574,7 +574,7 @@ class Guest(XMLBuilder):
|
|
|
|
usb_tablet = False
|
|
usb_keyboard = False
|
|
- if self.os.is_x86() and not self.os.is_xenpv():
|
|
+ if self.os.is_x86() and not self.os.is_xenpv() and not self.os.is_xenpvh():
|
|
usb_tablet = self.osinfo.supports_usbtablet()
|
|
if self.os.is_arm_machvirt():
|
|
usb_tablet = True
|
|
Index: virt-manager-2.1.0/virtManager/domain.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtManager/domain.py
|
|
+++ virt-manager-2.1.0/virtManager/domain.py
|
|
@@ -1224,6 +1224,8 @@ class vmmDomain(vmmLibvirtObject):
|
|
return self.get_xmlobj().os.is_xenpv()
|
|
def is_hvm(self):
|
|
return self.get_xmlobj().os.is_hvm()
|
|
+ def is_xenpvh(self):
|
|
+ return self.get_xmlobj().os.is_xenpvh()
|
|
|
|
def get_uuid(self):
|
|
if self._uuid is None:
|
|
Index: virt-manager-2.1.0/virtManager/connection.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtManager/connection.py
|
|
+++ virt-manager-2.1.0/virtManager/connection.py
|
|
@@ -229,6 +229,8 @@ class vmmConnection(vmmGObject):
|
|
label = "xen (paravirt)"
|
|
elif gtype == "hvm":
|
|
label = "xen (fullvirt)"
|
|
+ elif gtype == "xenpvh":
|
|
+ label = "xen (pvh - Technical Preview)"
|
|
elif domtype == "test":
|
|
if gtype == "xen":
|
|
label = "test (xen)"
|