mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-13 13:17:57 +03:00
details: Don't show SCSI/USB bus for RHEL6
This commit is contained in:
parent
1458604034
commit
0c2eee328d
@ -3086,12 +3086,14 @@ class vmmDetails(vmmGObjectUI):
|
||||
buses.append(["fdc", "Floppy"])
|
||||
elif devtype == virtinst.VirtualDisk.DEVICE_CDROM:
|
||||
buses.append(["ide", "IDE"])
|
||||
buses.append(["scsi", "SCSI"])
|
||||
if self.vm.rhel6_defaults():
|
||||
buses.append(["scsi", "SCSI"])
|
||||
else:
|
||||
if self.vm.is_hvm():
|
||||
buses.append(["ide", "IDE"])
|
||||
buses.append(["scsi", "SCSI"])
|
||||
buses.append(["usb", "USB"])
|
||||
if self.vm.rhel6_defaults():
|
||||
buses.append(["scsi", "SCSI"])
|
||||
buses.append(["usb", "USB"])
|
||||
if self.vm.get_hv_type() == "kvm":
|
||||
buses.append(["virtio", "Virtio"])
|
||||
if self.vm.conn.is_xen():
|
||||
|
Loading…
Reference in New Issue
Block a user