[Qemu-devel] [PATCH v3 06/12] vfio/pci: provide vfio_pci_sva_ops instance

2018-03-01 Thread Liu, Yi L
VFIO is the bridge for vIOMMU and host IOMMU. Needs to provide API for vIOMMU emulator to set configs to host IOMMU. In this patchset, such API is exposed in hw/pci. Signed-off-by: Liu, Yi L --- hw/vfio/pci.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/

[Qemu-devel] [PATCH v3 06/12] vfio/pci: provide vfio_pci_sva_ops instance

2018-03-01 Thread Liu, Yi L
VFIO is the bridge for vIOMMU and host IOMMU. Needs to provide API for vIOMMU emulator to set configs to host IOMMU. In this patchset, such API is exposed in hw/pci. Signed-off-by: Liu, Yi L --- hw/vfio/pci.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/