Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-03-11 18:51:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and      /work/SRC/openSUSE:Factory/.virt-manager.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-manager"

Wed Mar 11 18:51:05 2020 rev:205 rq:783539 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes        
2019-12-10 22:46:59.713707347 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3160/virt-manager.changes      
2020-03-11 18:54:32.987653511 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 13:46:48 MDT 2020 - [email protected]
+
+- Upstream bug fix (bsc#1027942)
+  
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
+
+-------------------------------------------------------------------

New:
----
  
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virt-manager.spec ++++++
--- /var/tmp/diff_new_pack.s7mEco/_old  2020-03-11 18:54:33.943653939 +0100
+++ /var/tmp/diff_new_pack.s7mEco/_new  2020-03-11 18:54:33.943653939 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -47,6 +47,7 @@
 Patch13:        
51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
 Patch14:        d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
 Patch15:        29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
+Patch16:        
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
 # SUSE Only
 Patch70:        virtman-desktop.patch
 Patch71:        virtman-kvm.patch
@@ -193,6 +194,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++++++ 
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch 
++++++
Subject: details: Fix showing the firmware type in case of firmware auto 
selection
From: Lin Ma [email protected] Wed Jan 15 10:34:12 2020 +0800
Date: Wed Jan 15 10:21:46 2020 -0500:
Git: 15a9502b7b7a263c4d66ff2b3f31c209f58fe0b4

For a shutoff VM, If user select uefi firmware auto selection, e.g.
<os firmware='efi'>
...
</os>

Its firmware information is set to 'BIOS' in details, This is incorrect.
This fixes it.

Reviewed-by: Cole Robinson <[email protected]>
Signed-off-by: Lin Ma <[email protected]>

Index: virt-manager-2.2.1/virtManager/details/details.py
===================================================================
--- virt-manager-2.2.1.orig/virtManager/details/details.py
+++ virt-manager-2.2.1/virtManager/details/details.py
@@ -2017,8 +2017,11 @@ class vmmDetails(vmmGObjectUI):
 
         # Firmware
         domcaps = self.vm.get_domain_capabilities()
-        firmware = domcaps.label_for_firmware_path(
-            self.vm.get_xmlobj().os.loader)
+        if self.vm.get_xmlobj().is_uefi():
+            firmware = 'UEFI'
+        else:
+            firmware = domcaps.label_for_firmware_path(
+                self.vm.get_xmlobj().os.loader)
         if self.widget("overview-firmware").is_visible():
             uiutil.set_list_selection(
                 self.widget("overview-firmware"), firmware)

Reply via email to