Skip to content

Emulate MSI-X mask bits for assigned devices

Sheng Yang kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: Emulation MSI-X mask bits for assigned devicesarch/x86/kvm/x86.c include/linux/kvm.h include/linux/kvm_host.h +1 more+49 -120 replies
2/3qemu-kvm: device assignment: Some clean up for MSI-X codehw/device-assignment.c+51 -240 replies
3/3qemu-kvm: device assignment: emulate MSI-X mask bitshw/device-assignment.c+126 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Emulate MSI-X mask bits for assigned devices

Hi Avi & Marcelo

This patchset would add emulation of MSI-X mask bit for assigned devices in QEmu.

BTW: We are also purposed an acceleration of MSI-X mask bit for KVM - to get it done in kernel. That's because sometime MSI-X mask bit was accessed very frequently by guest and emulation in QEmu cost a lot(tens to hundreds percent CPU utilization sometime), e.g. guest using Linux 2.6.18 or under some heavy workload. The method has been proved efficient in Xen, but it would require VMM to handle MSI-X table. Is that OK with you?

--
regards
Yang, Sheng