Re: [PATCH v4 04/14] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches

From: Stephen Bates
Date: Wed May 09 2018 - 08:36:11 EST


Hi Alex and Don

> Correct, the VM has no concept of the host's IOMMU groups, only the
> hypervisor knows about the groups,

But as I understand it these groups are usually passed through to VMs on a pre-group basis by the hypervisor? So IOMMU group 1 might be passed to VM A and IOMMU group 2 passed to VM B. So I agree the VM is not aware of IOMMU groupings but it is impacted by them in the sense that if the groupings change the PCI topology presented to the VM needs to change too.

Stephen