Hello community,

here is the log from the commit of package virt-manager for openSUSE:Leap:15.2 
checked in at 2020-03-13 10:59:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/virt-manager (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.virt-manager.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-manager"

Fri Mar 13 10:59:24 2020 rev:86 rq:784268 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/virt-manager/virt-manager.changes      
2020-01-15 16:28:09.592744540 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.virt-manager.new.3160/virt-manager.changes    
2020-03-13 11:01:33.608613711 +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.L1xqTL/_old  2020-03-13 11:01:34.920614646 +0100
+++ /var/tmp/diff_new_pack.L1xqTL/_new  2020-03-13 11:01:34.924614649 +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
@@ -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