All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 kvmtool 00/13] Add vfio-pci support
@ 2018-06-18 18:41 Jean-Philippe Brucker
  2018-06-18 18:41 ` [PATCH v6 kvmtool 01/13] pci: add config operations callbacks on the PCI header Jean-Philippe Brucker
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Jean-Philippe Brucker @ 2018-06-18 18:41 UTC (permalink / raw)
  To: kvm
  Cc: lorenzo.pieralisi, marc.zyngier, punit.agrawal, will.deacon,
	alex.williamson, robin.murphy, kvmarm

This is version six of the VFIO support in kvmtool. It addresses
Will's comments for v5.

Implement vfio-pci support in kvmtool. Devices are assigned to the guest
by passing "--vfio-pci [domain:]bus:dev.fn" to lkvm run, after having
bound the device to the VFIO driver (see Documentation/vfio.txt)

This time around I also tested assignment of the x540 NIC on my old x86
desktop as well (previously only on AMD Seattle, an arm64 host). It
worked smoothly.

v6: git://linux-arm.org/kvmtool-jpb.git vfio/v6
v5: https://www.spinics.net/lists/kvm/msg166119.html

Jean-Philippe Brucker (13):
  pci: add config operations callbacks on the PCI header
  pci: allow to specify IRQ type for PCI devices
  irq: add irqfd helpers
  Extend memory bank API with memory types
  pci: add capability helpers
  Import VFIO headers
  Add fls_long and roundup_pow_of_two helpers
  Add PCI device passthrough using VFIO
  vfio-pci: add MSI-X support
  vfio-pci: add MSI support
  vfio: Support non-mmappable regions
  Introduce reserved memory regions
  vfio: check reserved regions before mapping DMA

 Makefile                     |    2 +
 arm/gic.c                    |   76 ++-
 arm/include/arm-common/gic.h |    6 +
 arm/kvm.c                    |    2 +-
 arm/pci.c                    |    4 +-
 builtin-run.c                |    5 +
 hw/pci-shmem.c               |   12 +-
 hw/vesa.c                    |    2 +-
 include/kvm/irq.h            |   17 +
 include/kvm/kvm-config.h     |    3 +
 include/kvm/kvm.h            |   54 +-
 include/kvm/pci.h            |  118 +++-
 include/kvm/util.h           |   14 +
 include/kvm/vfio.h           |  127 ++++
 include/linux/vfio.h         |  719 ++++++++++++++++++++
 irq.c                        |   31 +
 kvm.c                        |   99 ++-
 mips/kvm.c                   |    6 +-
 pci.c                        |  105 +--
 powerpc/kvm.c                |    2 +-
 vfio/core.c                  |  676 +++++++++++++++++++
 vfio/pci.c                   | 1193 ++++++++++++++++++++++++++++++++++
 virtio/net.c                 |    9 +-
 virtio/scsi.c                |   10 +-
 x86/kvm.c                    |    6 +-
 25 files changed, 3175 insertions(+), 123 deletions(-)
 create mode 100644 include/kvm/vfio.h
 create mode 100644 include/linux/vfio.h
 create mode 100644 vfio/core.c
 create mode 100644 vfio/pci.c

-- 
2.17.0

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

end of thread, other threads:[~2018-06-19 12:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-18 18:41 [PATCH v6 kvmtool 00/13] Add vfio-pci support Jean-Philippe Brucker
2018-06-18 18:41 ` [PATCH v6 kvmtool 01/13] pci: add config operations callbacks on the PCI header Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 02/13] pci: allow to specify IRQ type for PCI devices Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 03/13] irq: add irqfd helpers Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 04/13] Extend memory bank API with memory types Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 05/13] pci: add capability helpers Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 06/13] Import VFIO headers Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 07/13] Add fls_long and roundup_pow_of_two helpers Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 08/13] Add PCI device passthrough using VFIO Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 09/13] vfio-pci: add MSI-X support Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 10/13] vfio-pci: add MSI support Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 11/13] vfio: Support non-mmappable regions Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 12/13] Introduce reserved memory regions Jean-Philippe Brucker
2018-06-18 18:42 ` [PATCH v6 kvmtool 13/13] vfio: check reserved regions before mapping DMA Jean-Philippe Brucker
2018-06-19 12:19 ` [PATCH v6 kvmtool 00/13] Add vfio-pci support Will Deacon

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.