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 <abolo...@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

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

Reply via email to