mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
addhardware: Remove IDE from list while adding controllers
Libvirt only supports built-in IDE controller so far, There is no any case that needs us manually add an IDE controller, So remove it from the controller list. Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
parent
f3f9dd6b73
commit
08b2b808bd
@ -886,7 +886,8 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
model.clear()
|
||||
|
||||
for t in VirtualController.TYPES:
|
||||
if t == VirtualController.TYPE_PCI:
|
||||
if t in [VirtualController.TYPE_IDE,
|
||||
VirtualController.TYPE_PCI]:
|
||||
continue
|
||||
model.append([t, VirtualController.pretty_type(t)])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user