summary refs log tree commit diff
path: root/usb_util
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.corp-partner.google.com>2019-04-23 17:15:00 +0800
committerCommit Bot <commit-bot@chromium.org>2019-10-17 00:17:07 +0000
commitbed8b0017d2cb283c20dc50241adb4f5b2668489 (patch)
tree7a76e936a9e1aede56c08c112ca7d436ab8d9e98 /usb_util
parent04a82c7be173b2068c4254ed4a129e24e9e3a2e4 (diff)
downloadcrosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar.gz
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar.bz2
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar.lz
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar.xz
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.tar.zst
crosvm-bed8b0017d2cb283c20dc50241adb4f5b2668489.zip
vfio: Add msi support
crosvm doesn't support MSI/MSI-x, but kvmgt vgpu support MSI only
through cfg msi capability. This is a simple msi implementation, it
detects msi capability and track msi control, data and address info, then
call vfio kernel to enable / disable msi interrupt.

Currently it supports one vetor per MSI. It could extend to multi vetors and
MSI-x.

BUG=chromium:992270
TEST=none

Change-Id: I04fc95f23a07f9698237c014d9f909d011f447ef
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1581142
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'usb_util')
0 files changed, 0 insertions, 0 deletions