Skip to content

IRQ Routing

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1KVM: Userspace controlled irq routingarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/x86.c include/linux/kvm.h +3 more+264 -40 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/1] IRQ Routing

Following is my alternative to irq routing. The differences compared to Sheng's version are:

- A single ioctl to replace the entire routing table, instead of add/remove ioctls for individual routing entries. Routing changes are rare, and we need to track the entire table in userspace anyway (for save/restore, and for user irqchip). As a side effect changes are atomic.
- Interrupt numbers are allocated by userspace, instead of the kernel
- I implemented irqchip routings rather then MSIs, it should be easy to add MSIs later on.

Please review and comment.

Avi Kivity (1):
KVM: Userspace controlled irq routing

 arch/ia64/kvm/kvm-ia64.c |    5 ++
 arch/x86/kvm/x86.c       |    6 ++
 include/linux/kvm.h      |   33 +++++++++
 include/linux/kvm_host.h |   31 +++++++++
 virt/kvm/irq_comm.c      |  168 ++++++++++++++++++++++++++++++++++++++++++++-
 virt/kvm/kvm_main.c      |   25 +++++++
 6 files changed, 264 insertions(+), 4 deletions(-)