mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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.
This commit is contained in:
parent
c45e1ef6b8
commit
c005cc84d6
@ -2810,6 +2810,8 @@ class vmmDetails(vmmGObjectUI):
|
|||||||
self.conn.is_test_conn()))
|
self.conn.is_test_conn()))
|
||||||
if removable is None:
|
if removable is None:
|
||||||
removable = False
|
removable = False
|
||||||
|
else:
|
||||||
|
can_set_removable = True
|
||||||
|
|
||||||
if addr == "spapr-vio":
|
if addr == "spapr-vio":
|
||||||
bus = "spapr-vscsi"
|
bus = "spapr-vscsi"
|
||||||
|
Loading…
Reference in New Issue
Block a user