Re: [PATCH v2 1/5] vz: report "scsi" bus for disks when nothing was set explixitly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 21, 2016 at 10:38:48PM +0300, Maxim Nestratov wrote:
> This is necessary to show CTs created out of libvirt correctly.
> 
> Signed-off-by: Maxim Nestratov <mnestratov@xxxxxxxxxxxxx>
> ---
>  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 64748fa..2c8ce03 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;

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux