From c005cc84d6da0c5d2e33ad03783f14a34f8f5369 Mon Sep 17 00:00:00 2001 From: "Fred A. Kemp" Date: Fri, 4 Oct 2013 03:39:02 +0200 Subject: [PATCH] virt-manager: Future-proof disk 'removable' check box 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 77aa24661..b2fbf1995 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -2810,6 +2810,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"