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

Re: [libvirt] [PATCH v2 18/25] qemu: Support filesystem model=virtio-9p-{non-}transitional



On Wed, 2019-01-23 at 16:32 -0500, Cole Robinson wrote:
[...]
> @@ -677,7 +677,9 @@ qemuDomainDeviceCalculatePCIConnectFlags(virDomainDeviceDefPtr dev,
>          break;
>  
>      case VIR_DOMAIN_DEVICE_FS:
> -        /* the only type of filesystem so far is virtio-9p-pci */
> +        /* Transitional devices only work in conventional PCI slots */
> +        if (dev->data.fs->model == VIR_DOMAIN_FS_MODEL_VIRTIO_9P_TRANSITIONAL)
> +            return pciFlags;
>          return virtioFlags;

With a switch statement to take care of models here, and based on
the discussion for the previous patch possibly the model names
being changed,

  Reviewed-by: Andrea Bolognani <abologna redhat com>

-- 
Andrea Bolognani / Red Hat / Virtualization


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