aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2019-04-12 12:13:25 +0800
committerJoerg Roedel <[email protected]>2019-04-12 13:00:37 +0200
commit7bd50f0cd2fd5e8cc910bc0b7db93681c1d325be (patch)
treece90c050c1555488677943b8247e1ea09e262026 /tools/perf/util/c++/clang-test.cpp
parent8ac13175cbe985e78bd41f9637b613b59df36936 (diff)
vfio/type1: Add domain at(de)taching group helpers
This adds helpers to attach or detach a domain to a group. This will replace iommu_attach_group() which only works for non-mdev devices. If a domain is attaching to a group which includes the mediated devices, it should attach to the iommu device (a pci device which represents the mdev in iommu scope) instead. The added helper supports attaching domain to groups for both pci and mdev devices. Cc: Ashok Raj <[email protected]> Cc: Jacob Pan <[email protected]> Cc: Kevin Tian <[email protected]> Signed-off-by: Sanjay Kumar <[email protected]> Signed-off-by: Liu Yi L <[email protected]> Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Jean-Philippe Brucker <[email protected]> Acked-by: Alex Williamson <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions