summaryrefslogtreecommitdiff
path: root/include/linux/vdpa.h
diff options
context:
space:
mode:
authorZhu Lingshan <lingshan.zhu@intel.com>2020-07-31 09:55:29 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 18:08:42 +0300
commit2edd9cb79fb31b0907c6e0cdce2824780cf9b153 (patch)
tree32655aee80ac569e3973ae69d256d2067a709687 /include/linux/vdpa.h
parent265a0ad8731dc04fccb76cd1abf5a85a9359e62e (diff)
downloadlinux-2edd9cb79fb31b0907c6e0cdce2824780cf9b153.tar.xz
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 'include/linux/vdpa.h')
0 files changed, 0 insertions, 0 deletions