Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2016-06-21 11:30:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2016-06-14 23:07:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes 2016-06-21 12:29:10.000000000 +0200 @@ -1,0 +2,9 @@ +Tue Jun 14 16:08:05 MDT 2016 - [email protected] + +- boo#981836 - virt-manager does not support all boot methods for + AArch64 + 5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch + de9cd87f-return-recommended-machine-for-XEN.patch + 0acdea1d-show-firmware-options-also-for-XEN-guests.patch + +------------------------------------------------------------------- New: ---- 0acdea1d-show-firmware-options-also-for-XEN-guests.patch 5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch de9cd87f-return-recommended-machine-for-XEN.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.kU8z5E/_old 2016-06-21 12:29:11.000000000 +0200 +++ /var/tmp/diff_new_pack.kU8z5E/_new 2016-06-21 12:29:11.000000000 +0200 @@ -44,6 +44,9 @@ Patch5: f11eb00b-virt-convert-decompress-gz-files-before-converting.patch Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch Patch7: f454798b-virtman-fix-making-screenshot.patch +Patch8: 5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch +Patch9: de9cd87f-return-recommended-machine-for-XEN.patch +Patch10: 0acdea1d-show-firmware-options-also-for-XEN-guests.patch # SUSE Only Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch @@ -169,6 +172,9 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 # SUSE Only %patch70 -p1 %patch71 -p1 ++++++ 0acdea1d-show-firmware-options-also-for-XEN-guests.patch ++++++ Subject: virtManager.details: show firmware options also for XEN guests From: Pavel Hrdina [email protected] Thu Jun 16 12:03:42 2016 +0200 Date: Thu Jun 16 12:16:53 2016 +0200: Git: 0acdea1dadfdaa3f6ee159bf5fdb20c6e8ccd528 Index: virt-manager-1.3.2/virtManager/details.py =================================================================== --- virt-manager-1.3.2.orig/virtManager/details.py +++ virt-manager-1.3.2/virtManager/details.py @@ -843,8 +843,10 @@ class vmmDetails(vmmGObjectUI): self.widget("overview-firmware").set_visible(self.is_customize_dialog) self.widget("overview-firmware-label").set_visible( not self.is_customize_dialog) - show_firmware = ((self.conn.is_qemu() or self.conn.is_test_conn()) and - domcaps.arch_can_uefi()) + show_firmware = ((self.conn.is_qemu() or + self.conn.is_test_conn() or + self.conn.is_xen()) and + domcaps.arch_can_uefi()) uiutil.set_grid_row_visible( self.widget("overview-firmware-title"), show_firmware) ++++++ 5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch ++++++ Subject: virtManager.create: don't clear recommended machine if none is selected From: Pavel Hrdina [email protected] Thu Jun 16 11:04:36 2016 +0200 Date: Thu Jun 16 12:00:10 2016 +0200: Git: 5ecc2b440a8e34e00a0c4192c94030428102f0cb This improves loading domcapabilities to get domcapabilities for recommended machine, not for default machine. Signed-off-by: Pavel Hrdina <[email protected]> Index: virt-manager-1.3.2/virtManager/create.py =================================================================== --- virt-manager-1.3.2.orig/virtManager/create.py +++ virt-manager-1.3.2/virtManager/create.py @@ -1636,7 +1636,11 @@ class vmmCreate(vmmGObjectUI): def _build_guest(self, variant): guest = self.conn.caps.build_virtinst_guest(self._capsinfo) - guest.os.machine = self._get_config_machine() + + # If no machine was selected don't clear recommended machine + machine = self._get_config_machine() + if machine: + guest.os.machine = machine # Generate UUID (makes customize dialog happy) try: ++++++ de9cd87f-return-recommended-machine-for-XEN.patch ++++++ Subject: virtinst.capabilities: return recommended machine for XEN From: Pavel Hrdina [email protected] Thu Jun 16 12:00:51 2016 +0200 Date: Thu Jun 16 12:16:49 2016 +0200: Git: de9cd87fda742dfd5e9a14cf4b68c60e574d3e3d This is required in order to ask for correct domcapabilities. If you don't specify any machine libvirt will return domcapabilities for default machine which is xenpv. Signed-off-by: Pavel Hrdina <[email protected]> Index: virt-manager-1.3.2/tests/cli-test-xml/compare/virt-install-xen-hvm.xml =================================================================== --- virt-manager-1.3.2.orig/tests/cli-test-xml/compare/virt-install-xen-hvm.xml +++ virt-manager-1.3.2/tests/cli-test-xml/compare/virt-install-xen-hvm.xml @@ -5,7 +5,7 @@ <currentMemory>65536</currentMemory> <vcpu>1</vcpu> <os> - <type arch="x86_64">hvm</type> + <type arch="x86_64" machine="xenfv">hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <boot dev="cdrom"/> <boot dev="hd"/> Index: virt-manager-1.3.2/tests/cli-test-xml/compare/virt-install-xen-pv.xml =================================================================== --- virt-manager-1.3.2.orig/tests/cli-test-xml/compare/virt-install-xen-pv.xml +++ virt-manager-1.3.2/tests/cli-test-xml/compare/virt-install-xen-pv.xml @@ -5,7 +5,7 @@ <currentMemory>65536</currentMemory> <vcpu>1</vcpu> <os> - <type arch="x86_64">linux</type> + <type arch="x86_64" machine="xenpv">linux</type> <kernel>/tmp/virtinst-vmlinuz.</kernel> <initrd>/tmp/virtinst-initrd.img.</initrd> <cmdline>method=tests/cli-test-xml/faketree</cmdline> Index: virt-manager-1.3.2/virtinst/capabilities.py =================================================================== --- virt-manager-1.3.2.orig/virtinst/capabilities.py +++ virt-manager-1.3.2/virtinst/capabilities.py @@ -350,9 +350,14 @@ class _CapsInfo(object): # For any other HV just let libvirt get us the default, these # are the only ones we've tested. - if not self.conn.is_test() and not self.conn.is_qemu(): + if (not self.conn.is_test() and + not self.conn.is_qemu() and + not self.conn.is_xen()): return None + if self.conn.is_xen() and len(self.machines): + return self.machines[0] + if (self.arch in ["ppc64", "ppc64le"] and "pseries" in self.machines): return "pseries" ++++++ virtman-prevent-double-click-starting-vm-twice.patch ++++++ --- /var/tmp/diff_new_pack.kU8z5E/_old 2016-06-21 12:29:11.000000000 +0200 +++ /var/tmp/diff_new_pack.kU8z5E/_new 2016-06-21 12:29:11.000000000 +0200 @@ -3,11 +3,11 @@ virt-manager issues two start commands to start the VM which results in a failure. There is code elsewhere to desensitize the button but this patch does it earlier. -Index: virt-manager-1.3.0/virtManager/details.py +Index: virt-manager-1.3.2/virtManager/details.py =================================================================== ---- virt-manager-1.3.0.orig/virtManager/details.py -+++ virt-manager-1.3.0/virtManager/details.py -@@ -1414,6 +1414,9 @@ class vmmDetails(vmmGObjectUI): +--- virt-manager-1.3.2.orig/virtManager/details.py ++++ virt-manager-1.3.2/virtManager/details.py +@@ -1416,6 +1416,9 @@ class vmmDetails(vmmGObjectUI): self.widget("details-menu-usb-redirection").set_sensitive(can_usb) def control_vm_run(self, src_ignore):
