diff options
author | 2020-07-31 14:55:29 +0800 | |
---|---|---|
committer | 2020-08-05 11:08:42 -0400 | |
commit | 2edd9cb79fb31b0907c6e0cdce2824780cf9b153 (patch) | |
tree | 32655aee80ac569e3973ae69d256d2067a709687 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vhost: introduce vhost_vring_call (diff) | |
download | linux-dev-2edd9cb79fb31b0907c6e0cdce2824780cf9b153.tar.xz linux-dev-2edd9cb79fb31b0907c6e0cdce2824780cf9b153.zip |
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 <lingshan.zhu@intel.com>
Suggested-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200731065533.4144-3-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions