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

Andrea Bolognani abologna at redhat.com
Tue Jan 29 13:59:08 UTC 2019


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 at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list