diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2022-06-06 16:33:21 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2022-07-11 09:54:35 +0200 |
commit | 8061d1c31f1a018281bc9877ecce44bfc779e21d (patch) | |
tree | 364d080e4be0b214fb1d7ea62aa844b9a874aa1e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 09340b2fca007509c3cbc34fdc97961e0abfc589 (diff) |
vfio-pci/zdev: add open/close device hooks
During vfio-pci open_device, pass the KVM associated with the vfio group
(if one exists). This is needed in order to pass a special indicator
(GISA) to firmware to allow zPCI interpretation facilities to be used
for only the specific KVM associated with the vfio-pci device. During
vfio-pci close_device, unregister the notifier.
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Link: https://lore.kernel.org/r/20220606203325.110625-18-mjrosato@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions