From e485310ab2565f2892604ee129ba9d292c6363a6 Mon Sep 17 00:00:00 2001 From: Maxim Nestratov Date: Mon, 5 Dec 2016 15:37:12 +0300 Subject: [PATCH] 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 --- src/vz/vz_sdk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 4cd988a8bc..e968fdee27 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -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; -- GitLab