[PATCH 5/5] virt-manager: Future-proof disk 'removable' check box

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

 



From: "Fred A. Kemp" <anonym@xxxxxxxxxx>

Currently only QEMU is supported so we only show the check box when
it's used. The future-proofing is that we'll show it for an explicitly
set non-default value, even for hypervisors we don't think support it.
---
 virtManager/details.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/virtManager/details.py b/virtManager/details.py
index 8ed4514..d11bec3 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -2812,6 +2812,8 @@ class vmmDetails(vmmGObjectUI):
                                          self.conn.is_test_conn()))
         if removable is None:
             removable = False
+        else:
+            can_set_removable = True
 
         if addr == "spapr-vio":
             bus = "spapr-vscsi"
-- 
1.7.10.4

_______________________________________________
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