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

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



From: "Fred A. Kemp" <anonym riseup net>

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


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