diff options
author | Zhu Lingshan <[email protected]> | 2020-07-31 14:55:29 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2020-08-05 11:08:42 -0400 |
commit | 2edd9cb79fb31b0907c6e0cdce2824780cf9b153 (patch) | |
tree | 32655aee80ac569e3973ae69d256d2067a709687 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 265a0ad8731dc04fccb76cd1abf5a85a9359e62e (diff) |
kvm: detect assigned device via irqbypass manager
vDPA devices has dedicated backed hardware like
passthrough-ed devices. Then it is possible to setup irq
offloading to vCPU for vDPA devices. Thus this patch tries to
manipulated assigned device counters by
kvm_arch_start/end_assignment() in irqbypass manager, so that
assigned devices could be detected in update_pi_irte()
We will increase/decrease the assigned device counter in kvm/x86.
Both vDPA and VFIO would go through this code path.
Only X86 uses these counters and kvm_arch_start/end_assignment(),
so this code path only affect x86 for now.
Signed-off-by: Zhu Lingshan <[email protected]>
Suggested-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions