From: Alex Williamson <alex.williamson@redhat.com>
To: alex.williamson@redhat.com
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: [Qemu-devel] [RFC post-2.5 PATCH 0/5] VFIO: capability chains
Date: Mon, 23 Nov 2015 14:13:43 -0700 [thread overview]
Message-ID: <20151123210409.20561.3619.stgit@gimli.home> (raw)
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(-)
next reply other threads:[~2015-11-23 21:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 21:13 Alex Williamson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151123210409.20561.3619.stgit@gimli.home \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).