mirror of https://gitee.com/openkylin/qemu.git
e07fb4b50b
Claim ACS support in the generic PCIe root port to allow passthrough of individual functions of a device to different guests (in a nested virt.setting) with VFIO. Without this patch, all functions of a device, such as all VFs of an SR/IOV device, will end up in the same IOMMU group. A similar situation occurs on Windows with Hyper-V. In the single function device case, it also has a small cosmetic benefit in that the root port itself is not grouped with the device. VFIO handles that situation in that binding rules only apply to endpoints, so it does not limit passthrough in those cases. Signed-off-by: Knut Omang <knut.omang@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <319460b483f566dd57487eb3dd340ed4c10aa53c.1550768238.git-series.knut.omang@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile.objs | ||
dec.c | ||
dec.h | ||
gen_pcie_root_port.c | ||
i82801b11.c | ||
ioh3420.c | ||
pci_bridge_dev.c | ||
pci_expander_bridge.c | ||
pcie_pci_bridge.c | ||
pcie_root_port.c | ||
simba.c | ||
xio3130_downstream.c | ||
xio3130_upstream.c |