- bsc#1157097 - PV guest on_reboot event be set to 'destroy' by

default
  virtinst-pvgrub2-bootloader.patch
- Rebased patches
  virtinst-change-location-for-grub_xen.patch
  virtman-increase-setKeepAlive-count.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=490
This commit is contained in:
Charles Arnold 2019-11-22 20:56:15 +00:00 committed by Git OBS Bridge
parent 50accc9d06
commit cc21dc861d
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Nov 22 13:50:11 MST 2019 - carnold@suse.com
- bsc#1157097 - PV guest on_reboot event be set to 'destroy' by
default
virtinst-pvgrub2-bootloader.patch
- Rebased patches
virtinst-change-location-for-grub_xen.patch
virtman-increase-setKeepAlive-count.patch
-------------------------------------------------------------------
Tue Nov 12 10:17:56 MST 2019 - carnold@suse.com

View File

@ -14,8 +14,8 @@ Index: virt-manager-2.2.1/virtinst/install/installer.py
+ else:
+ self._treemedia_bootconfig = ("/usr/lib/grub2/x86_64-xen/grub.xen", "", "")
log.debug("Using grub.xen to boot guest")
on_reboot_value = guest.on_reboot
self._alter_bootconfig(guest)
final_xml = guest.get_xml()
Index: virt-manager-2.2.1/virtManager/delete.py
===================================================================
--- virt-manager-2.2.1.orig/virtManager/delete.py

View File

@ -6,7 +6,7 @@ Index: virt-manager-2.2.1/virtinst/install/installer.py
===================================================================
--- virt-manager-2.2.1.orig/virtinst/install/installer.py
+++ virt-manager-2.2.1/virtinst/install/installer.py
@@ -436,6 +436,18 @@ class Installer(object):
@@ -436,6 +436,20 @@ class Installer(object):
install_xml = None
if self.has_install_phase():
install_xml = self._get_install_xml(guest, meter)
@ -21,7 +21,9 @@ Index: virt-manager-2.2.1/virtinst/install/installer.py
+ guest.bootloader = None
+ self._treemedia_bootconfig = ("/usr/lib/grub2/x86_64-xen/grub.xen", "", "")
+ log.debug("Using grub.xen to boot guest")
+ on_reboot_value = guest.on_reboot
+ self._alter_bootconfig(guest)
+ guest.on_reboot = on_reboot_value
final_xml = guest.get_xml()
log.debug("Generated install XML: %s",

View File

@ -6,7 +6,7 @@ Index: virt-manager-2.2.1/virtManager/connection.py
===================================================================
--- virt-manager-2.2.1.orig/virtManager/connection.py
+++ virt-manager-2.2.1/virtManager/connection.py
@@ -1002,7 +1002,7 @@ class vmmConnection(vmmGObject):
@@ -995,7 +995,7 @@ class vmmConnection(vmmGObject):
self._add_conn_events()
try: