2677655bda
001-adf30349-cli-refactor-get_prop.patch 002-60c7e778-xmlapi-add-set_prop.patch 003-5bad22e8-tests-Use-get-set_prop.patch 004-ee5f3eab-support-Add-SUPPORT_CONN_DEVICE_BOOT_ORDER.patch 005-7768eb17-cli-Add-check-if-device-boot-order-is-supported.patch 006-ecc0861c-tests-xmlparse-refactor-method-for-generating-out-file-path.patch 007-c9d070da-guest-Add-reorder_boot_order-method.patch 008-1b535940-tests-Add-test-case-for-reorder_boot_order-method.patch 009-b83a0a61-cli-Use-reorder_boot_order-for-setting-the-boot-order.patch 010-c896d19d-tests-cli-Add-boot.order-tests.patch 011-29f9f2ac-virt-xml-Add-no-define-argument.patch 012-c2bff509-tests-cli-Add-test-case-for-no-define-argument.patch 013-90b1a3ab-virt-xml-Add-support-for-starting-the-domain.patch 014-908b8e8d-tests-virt-xml-Add-test-cases-for-start-option.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=468
70 lines
2.8 KiB
Diff
70 lines
2.8 KiB
Diff
References: fate#326698 - Add pvh support to virt-manager
|
|
At this time support is disabled in this patch.
|
|
|
|
Index: virt-manager-2.1.0/virtManager/create.py
|
|
===================================================================
|
|
--- virt-manager-2.1.0.orig/virtManager/create.py
|
|
+++ virt-manager-2.1.0/virtManager/create.py
|
|
@@ -739,6 +739,9 @@ class vmmCreate(vmmGObjectUI):
|
|
for guest in guests:
|
|
if not guest.domains:
|
|
continue
|
|
+ # xenpvh is currently unsupported
|
|
+ if guest.os_type == "xenpvh":
|
|
+ continue
|
|
|
|
gtype = guest.os_type
|
|
dom = guest.domains[0]
|
|
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
|
|
@@ -608,7 +608,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
|
|
@@ -1225,6 +1225,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)"
|