0b51f8ff5d
(TOCTOU) race condition Resolved by upgrade to version 4.0.0 (jsc#SLE-16582) virt-manager-4.0.0.tar.gz - Other features and bug fixes (bsc#1027942) virt-install –os-variant/–osinfo is now a hard requirement for most cases Add ‘Enable shared memory’ UI checkbox (Lin Ma) add UI preference to default to UEFI for new VMs (Charles Arnold) Add virtiofs filesystem driver UI option Fill in all –cputune, –cpu, –shmem, –input, and –boot suboptions (Hugues Fafard) virt-* mdev improvements (Shalini Chellathurai Saroja) bhyve improvments (Roman Bogorodskiy) Revive network portgroup UI enable a TPM by default when UEFI is used (Daniel P. Berrangé) Use cpu host-passthrough by default on qemu x86 use virtio-gpu video for most modern distros Default to extra pcie root ports for q35 set discard=unmap by default for sparse disks and block devices We now require xorissofs for –location ISO We now use setuptools rather than just plain distutils - Add virtman-revert-use-of-AyatanaAppIndicator3.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=558
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-4.0.0/virtManager/createvm.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtManager/createvm.py
|
|
+++ virt-manager-4.0.0/virtManager/createvm.py
|
|
@@ -844,6 +844,9 @@ class vmmCreateVM(vmmGObjectUI):
|
|
break
|
|
if label is None:
|
|
continue
|
|
+ # xenpvh is currently unsupported
|
|
+ if guest.os_type == "xenpvh":
|
|
+ continue
|
|
|
|
# Determine if this is the default given by guest_lookup
|
|
if (gtype == self._capsinfo.os_type and
|
|
Index: virt-manager-4.0.0/virtinst/domain/os.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtinst/domain/os.py
|
|
+++ virt-manager-4.0.0/virtinst/domain/os.py
|
|
@@ -46,6 +46,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-4.0.0/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtinst/guest.py
|
|
+++ virt-manager-4.0.0/virtinst/guest.py
|
|
@@ -886,7 +886,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 = True
|
|
if (self.os.is_arm_machvirt() or
|
|
self.os.is_riscv_virt() or
|
|
Index: virt-manager-4.0.0/virtManager/object/domain.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtManager/object/domain.py
|
|
+++ virt-manager-4.0.0/virtManager/object/domain.py
|
|
@@ -1274,6 +1274,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-4.0.0/virtManager/connection.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtManager/connection.py
|
|
+++ virt-manager-4.0.0/virtManager/connection.py
|
|
@@ -211,6 +211,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)"
|