[virt-tools-list] [virt-manager PATCH 3/3] virtManager.details: show firmware options also for XEN guests

Pavel Hrdina phrdina at redhat.com
Thu Jun 16 10:23:21 UTC 2016


---
 virtManager/details.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index 0c369a4..b2f451d 100644
--- a/virtManager/details.py
+++ b/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)
 
-- 
2.9.0




More information about the virt-tools-list mailing list