mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
vz: report "scsi" bus for disks when nothing was set explixitly
This is necessary to show CTs created out of libvirt correctly. Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
This commit is contained in:
parent
c782a8d9d9
commit
e485310ab2
@ -563,6 +563,7 @@ prlsdkGetDiskId(PRL_HANDLE disk, int *bus, char **dst)
|
||||
*dst = virIndexToDiskName(pos, "hd");
|
||||
break;
|
||||
case PMS_SCSI_DEVICE:
|
||||
case PMS_UNKNOWN_DEVICE:
|
||||
*bus = VIR_DOMAIN_DISK_BUS_SCSI;
|
||||
*dst = virIndexToDiskName(pos, "sd");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user