qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC post-2.5 PATCH 0/5] VFIO: capability chains
@ 2015-11-23 21:13 Alex Williamson
  2015-11-23 21:13 ` [Qemu-devel] [RFC post-2.5 PATCH 1/5] vfio: Wrap VFIO_DEVICE_GET_REGION_INFO Alex Williamson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alex Williamson @ 2015-11-23 21:13 UTC (permalink / raw)
  To: alex.williamson; +Cc: qemu-devel, kvm

This is the matching QEMU changes for the proposed kernel-side
capability chains.  Unfortunately there's also a lot of churn to get
to consistent interfaces involved in this series, which allow us to
generically handle multiple mmaps overlapping a region and making the
actual step of consuming the new kernel data trivial.  The last patch
shows the proof of concept for reallocating the info buffer when
necessary and finding and using capability data.  Apologies for the
patches being a little rough, but I hope the concept shows through.
As noted above, this is of course post-2.5 material and of course
kernel header updates would only be included when accepted upstream.
Thanks,

Alex

---

Alex Williamson (5):
      vfio: Wrap VFIO_DEVICE_GET_REGION_INFO
      vfio: Generalize region support
      vfio/pci: Convert all MemoryRegion to dynamic alloc and consistent functions
      linux-headers/vfio: Update for proposed capabilities list
      vfio: Enable sparse mmap capability


 hw/vfio/common.c              |  245 +++++++++++++++++++++++++++----
 hw/vfio/pci-quirks.c          |   62 ++++----
 hw/vfio/pci.c                 |  329 +++++++++++++++++++----------------------
 hw/vfio/pci.h                 |   10 +
 hw/vfio/platform.c            |   71 ++-------
 include/hw/vfio/vfio-common.h |   26 ++-
 linux-headers/linux/vfio.h    |   53 ++++++-
 trace-events                  |   12 +
 8 files changed, 502 insertions(+), 306 deletions(-)

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

end of thread, other threads:[~2015-11-23 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 21:13 [Qemu-devel] [RFC post-2.5 PATCH 0/5] VFIO: capability chains Alex Williamson
2015-11-23 21:13 ` [Qemu-devel] [RFC post-2.5 PATCH 1/5] vfio: Wrap VFIO_DEVICE_GET_REGION_INFO Alex Williamson
2015-11-23 21:13 ` [Qemu-devel] [RFC post-2.5 PATCH 2/5] vfio: Generalize region support Alex Williamson
2015-11-23 21:14 ` [Qemu-devel] [RFC post-2.5 PATCH 3/5] vfio/pci: Convert all MemoryRegion to dynamic alloc and consistent functions Alex Williamson
2015-11-23 21:14 ` [Qemu-devel] [RFC post-2.5 PATCH 4/5] linux-headers/vfio: Update for proposed capabilities list Alex Williamson
2015-11-23 21:14 ` [Qemu-devel] [RFC post-2.5 PATCH 5/5] vfio: Enable sparse mmap capability 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).