All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC v2 0/4] VFIO Platform device featuring IRQ forwarding
@ 2015-05-04 12:49 ` Eric Auger
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Auger @ 2015-05-04 12:49 UTC (permalink / raw)
  To: eric.auger, eric.auger, qemu-devel, alex.williamson
  Cc: b.reynal, kvmarm, christoffer.dall, patches

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:
- QEMU KVM platform device passthrough and its dependencies
  see https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg04379.html
- kernel forwarding series:
  see (https://www.mail-archive.com/kvm@vger.kernel.org/msg115253.html)

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

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:

v1 -> v2:
- update following
  x introduction of kvm qemu_irq/gsi hash table
  x new irq connect notifier
  x 2 stage eventfd/irqfd setup which complexifies irq forwarding setup

v1:
- 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 (4):
  linux-headers: Update KVM header for KVM-VFIO FORWARD/UNFORWARD
  hw/vfio/common: vfio_kvm_device_fd moved in the common header
  kvm: add kvm_vfio_get_device_irq
  hw/vfio/platform: add forwarded irq support

 hw/vfio/common.c                |   2 +-
 hw/vfio/platform.c              | 103 +++++++++++++++++++++++++++++++++++++---
 include/hw/vfio/vfio-common.h   |   4 ++
 include/hw/vfio/vfio-platform.h |   3 ++
 include/sysemu/kvm.h            |   5 ++
 kvm-all.c                       |  32 +++++++++++++
 linux-headers/linux/kvm.h       |  12 +++++
 trace-events                    |   1 +
 8 files changed, 154 insertions(+), 8 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-04 12:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-04 12:49 [Qemu-devel] [RFC v2 0/4] VFIO Platform device featuring IRQ forwarding Eric Auger
2015-05-04 12:49 ` Eric Auger
2015-05-04 12:49 ` [Qemu-devel] [RFC v2 1/4] linux-headers: Update KVM header for KVM-VFIO FORWARD/UNFORWARD Eric Auger
2015-05-04 12:49   ` Eric Auger
2015-05-04 12:49 ` [Qemu-devel] [RFC v2 2/4] hw/vfio/common: vfio_kvm_device_fd moved in the common header Eric Auger
2015-05-04 12:49   ` Eric Auger
2015-05-04 12:49 ` [Qemu-devel] [RFC v2 3/4] kvm: add kvm_vfio_get_device_irq Eric Auger
2015-05-04 12:49   ` Eric Auger
2015-05-04 12:49 ` [Qemu-devel] [RFC v2 4/4] hw/vfio/platform: add forwarded irq support Eric Auger
2015-05-04 12:49   ` Eric Auger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.