[PATCH virt-manager] show details of controller device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>

We could specify 'model' for controllers,
that means we could see more than one controllers
with same icon and blank details.
That will confuse users.
This patch will show details of controller device.

Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
---
 virtManager/details.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtManager/details.py b/virtManager/details.py
index 72fbc98..29c755b 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -3319,6 +3319,7 @@ class vmmDetails(vmmGObjectUI):
             self.widget("config-remove").set_sensitive(True)
 
         self.set_combo_entry("controller-model", dev.model or "default")
+        uihelpers.set_grid_row_visible(self.widget("controller-model"), True)
 
     def refresh_filesystem_page(self):
         dev = self.get_hw_selection(HW_LIST_COL_DEVICE)
-- 
1.8.2.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux