qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 0/3] VFIO Platform device featuring IRQ forwarding


From: Eric Auger
Subject: [Qemu-devel] [RFC 0/3] VFIO Platform device featuring IRQ forwarding
Date: Fri, 13 Feb 2015 04:00:17 +0000

This series adds IRQ forwarding support in the VFIO platform device.

The VFIO platform device uses the KVM-VFIO device to enable IRQ forwarding.

Dependency List:
- KVM platform device passthrough PATCH v10 and all its dependencies
  + following kernel dependencies:
- [RFC PATCH 0/9] ARM: Forwarding physical interrupts to a guest VM
  http://lwn.net/Articles/603514/
- [RFC v2 0/4] chip/vgic adaptations for forwarded irq
  http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/132731
- [RFC v4 00/13] KVM-VFIO IRQ forward control
  http://www.spinics.net/lists/arm-kernel/msg398183.html

Repos:
- kernel pieces can be found at:
  http://git.linaro.org/people/eric.auger/linux.git
  (branch irqfd_integ_v9)
- QEMU pieces can be found at:
  http://git.linaro.org/people/eric.auger/qemu.git
  (branch vfio_integ_v10)

The patch series was tested on Calxeda Midway (ARMv7) where one xgmac
is assigned to KVM host while the second one is assigned to the guest.
Reworked PCI device is not tested.

Wiki for Calxeda Midway setup:
https://wiki.linaro.org/LEG/Engineering/Virtualization/Platform_Device_Passthrough_on_Midway

History:
- that code originally was in KVM platform device passthrough series (v8),
  now moved in a separate RFC since dependent on many RFCs.

Best Regards

Eric

Eric Auger (3):
  linux-headers: Update KVM header for KVM-VFIO FORWARD/UNFORWARD
  hw/vfio/common: vfio_kvm_device_fd moved in the common header
  hw/vfio/platform: add forwarded irq support

 hw/vfio/common.c                |  3 +-
 hw/vfio/platform.c              | 64 +++++++++++++++++++++++++++++++++++++++++
 include/hw/vfio/vfio-common.h   |  5 ++++
 include/hw/vfio/vfio-platform.h |  3 ++
 linux-headers/linux/kvm.h       | 23 ++++++++-------
 trace-events                    |  1 +
 6 files changed, 87 insertions(+), 12 deletions(-)

-- 
1.8.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]