Re: [PATCH v3 12/17] qemu: Support vsock model=virtio-{non-}transitional

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

 



On Fri, 2019-02-08 at 17:12 -0500, Cole Robinson wrote:
[...]
> @@ -977,7 +977,18 @@ qemuDomainDeviceCalculatePCIConnectFlags(virDomainDeviceDefPtr dev,
>          break;
>  
>      case VIR_DOMAIN_DEVICE_VSOCK:
> -        return virtioFlags;
> +        switch ((virDomainVsockModel) dev->data.vsock->model) {
> +        case VIR_DOMAIN_VSOCK_MODEL_VIRTIO:
> +        case VIR_DOMAIN_VSOCK_MODEL_VIRTIO_NON_TRANSITIONAL:
> +            return virtioFlags;
> +        case VIR_DOMAIN_VSOCK_MODEL_VIRTIO_TRANSITIONAL:
> +            return pciFlags;

Same nit as in 8/17.

Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization


[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