
29 Jan
2019
29 Jan
'19
8:59 a.m.
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