qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v8 0/4] vfio on spapr-ppc64
@ 2014-06-06  3:34 Alexey Kardashevskiy
  2014-06-06  3:34 ` [Qemu-devel] [PATCH v8 1/4] spapr_iommu: Make in-kernel TCE table optional Alexey Kardashevskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Alexey Kardashevskiy @ 2014-06-06  3:34 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexey Kardashevskiy, Alex Williamson, qemu-ppc, Alexander Graf,
	Gavin Shan

Yet another try with VFIO on SPAPR (server PPC64).

This adds VFIO support on SPAPR for the existing VFIO-SPAPR-TCE driver
in the upstream kernel.

Individual patches have more detailed commit logs.

Please comment. Thanks!


Changes:
v8:
* added placeholder for KVM_CAP_SPAPR_TCE_VFIO capability
* added generic helper to call ioctl on container's fd.

v7:
* cleaned and rebased on agraf/ppc-next tree (which is on its way to upstream)

v6:
* initial set was split into 3

v5:
* rebase on top of the current upstream

v4:
* addressed all comments from Alex Williamson
* moved spapr-pci-phb-vfio-phb to new file
* split spapr-pci-phb-vfio to many smaller patches


Alexey Kardashevskiy (4):
  spapr_iommu: Make in-kernel TCE table optional
  vfio: Add vfio_container_ioctl()
  spapr_pci_vfio: Add spapr-pci-vfio-host-bridge to support vfio
  vfio: Enable for SPAPR

 hw/misc/vfio.c              |  56 ++++++++++++++++++++++++
 hw/ppc/Makefile.objs        |   3 ++
 hw/ppc/spapr_iommu.c        |   7 ++-
 hw/ppc/spapr_pci.c          |   2 +-
 hw/ppc/spapr_pci_vfio.c     | 102 ++++++++++++++++++++++++++++++++++++++++++++
 hw/ppc/spapr_vio.c          |   2 +-
 include/hw/misc/vfio.h      |   9 ++++
 include/hw/pci-host/spapr.h |  11 +++++
 include/hw/ppc/spapr.h      |   4 +-
 target-ppc/kvm.c            |   7 ++-
 target-ppc/kvm_ppc.h        |   6 ++-
 11 files changed, 200 insertions(+), 9 deletions(-)
 create mode 100644 hw/ppc/spapr_pci_vfio.c
 create mode 100644 include/hw/misc/vfio.h

-- 
2.0.0

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

end of thread, other threads:[~2014-06-09 14:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06  3:34 [Qemu-devel] [PATCH v8 0/4] vfio on spapr-ppc64 Alexey Kardashevskiy
2014-06-06  3:34 ` [Qemu-devel] [PATCH v8 1/4] spapr_iommu: Make in-kernel TCE table optional Alexey Kardashevskiy
2014-06-06  3:34 ` [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl() Alexey Kardashevskiy
2014-06-06 16:48   ` Alex Williamson
2014-06-06 16:54     ` Alexey Kardashevskiy
2014-06-06 17:35       ` Alex Williamson
2014-06-06 22:50         ` Alexey Kardashevskiy
2014-06-06 22:55           ` Alex Williamson
2014-06-07 23:48             ` Alexey Kardashevskiy
2014-06-09 14:20               ` Alex Williamson
2014-06-06  3:34 ` [Qemu-devel] [PATCH v8 3/4] spapr_pci_vfio: Add spapr-pci-vfio-host-bridge to support vfio Alexey Kardashevskiy
2014-06-06  3:34 ` [Qemu-devel] [PATCH v8 4/4] vfio: Enable for SPAPR Alexey Kardashevskiy
2014-06-06 16:57   ` Alex Williamson
2014-06-06 22:47     ` Alexey Kardashevskiy
2014-06-07 23:49       ` Alexey Kardashevskiy
2014-06-09 14:28         ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).