diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-01-19 13:15:46 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-01-21 10:02:08 -0500 |
commit | e4c6c64653827679d59b9d51061e0212fda560de (patch) | |
tree | 3b5abe2185d791ace6943f190cc87a7e8772381d | |
parent | dc3c0b29f7843a7321b436181d6fe85da453765b (diff) | |
download | virt-manager-e4c6c64653827679d59b9d51061e0212fda560de.tar.gz |
addhardware: Don't allow adding floppy controller
It's either built in, or not available
-rw-r--r-- | virtManager/addhardware.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py index 801ebcbb..8274f0f3 100644 --- a/virtManager/addhardware.py +++ b/virtManager/addhardware.py @@ -889,7 +889,8 @@ class vmmAddHardware(vmmGObjectUI): for t in VirtualController.TYPES: if t in [VirtualController.TYPE_IDE, - VirtualController.TYPE_PCI]: + VirtualController.TYPE_PCI, + VirtualController.TYPE_FDC]: continue model.append([t, VirtualController.pretty_type(t)]) |