2018-12-17 23:20:22 +01:00
|
|
|
References: fate#326698 - Add pvh support to virt-manager
|
2019-02-20 19:20:06 +01:00
|
|
|
At this time support is disabled in this patch.
|
2018-12-17 23:20:22 +01:00
|
|
|
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtManager/createvm.py
|
2019-02-20 19:20:06 +01:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtManager/createvm.py
|
|
|
|
+++ virt-manager-2.2.1/virtManager/createvm.py
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -796,6 +796,9 @@ class vmmCreateVM(vmmGObjectUI):
|
2019-02-20 19:20:06 +01:00
|
|
|
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]
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtinst/domain/os.py
|
2018-12-17 23:20:22 +01:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtinst/domain/os.py
|
|
|
|
+++ virt-manager-2.2.1/virtinst/domain/os.py
|
2019-02-04 19:46:20 +01:00
|
|
|
@@ -32,6 +32,8 @@ class DomainOs(XMLBuilder):
|
2018-12-17 23:20:22 +01:00
|
|
|
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"
|
|
|
|
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtinst/guest.py
|
2018-12-17 23:20:22 +01:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtinst/guest.py
|
|
|
|
+++ virt-manager-2.2.1/virtinst/guest.py
|
2019-08-27 22:01:01 +02:00
|
|
|
@@ -824,7 +824,7 @@ class Guest(XMLBuilder):
|
2018-12-17 23:20:22 +01:00
|
|
|
|
|
|
|
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()
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
if (self.os.is_arm_machvirt() or
|
|
|
|
self.os.is_riscv_virt() or
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtManager/object/domain.py
|
2018-12-17 23:20:22 +01:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtManager/object/domain.py
|
|
|
|
+++ virt-manager-2.2.1/virtManager/object/domain.py
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -1150,6 +1150,8 @@ class vmmDomain(vmmLibvirtObject):
|
2018-12-17 23:20:22 +01:00
|
|
|
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:
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtManager/connection.py
|
2018-12-17 23:20:22 +01:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtManager/connection.py
|
|
|
|
+++ virt-manager-2.2.1/virtManager/connection.py
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -223,6 +223,8 @@ class vmmConnection(vmmGObject):
|
2018-12-17 23:20:22 +01:00
|
|
|
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)"
|