details: Don't show SCSI/USB bus for RHEL6

This commit is contained in:
Cole Robinson 2011-08-29 11:06:19 -04:00
parent 1458604034
commit 0c2eee328d

View File

@ -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():