[virt-tools-list] [PATCH 5/5] virt-manager: Future-proof disk 'removable' check box
Fred A. Kemp
anonym at riseup.net
Fri Oct 4 01:39:02 UTC 2013
From: "Fred A. Kemp" <anonym at 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
More information about the virt-tools-list
mailing list