From: Paul Durrant <paul.durrant@citrix.com>
To: xen-devel@lists.xen.org
Subject: [PATCH v10 0/3] Support for running secondary emulators
Date: Thu, 22 May 2014 11:38:37 +0100 [thread overview]
Message-ID: <1400755120-39448-1-git-send-email-paul.durrant@citrix.com> (raw)
This patch series adds the ioreq server interface which I mentioned in
my talk at the Xen developer summit in Edinburgh at the end of last year.
The code is based on work originally done by Julien Grall but has been
re-written to allow existing versions of QEMU to work unmodified.
The code is available in my xen.git [1] repo on xenbits, under the
'savannah10' branch, and I have also written a demo emulator to test the
code, which can be found in my demu.git [2] repo.
The series has been re-worked since v8. The modifications are now broken
down as follows:
Patch #1 makes the single ioreq server of previous patches into the
default ioreq server and introduces an API for creating secondary servers.
Patch #2 adds an enable/disable operation to the API for secondary servers
which makes sure that they cannot be active whilst their shared pages are
present in the guest's P2M.
Patch #3 adds makes handling buffered ioreqs optional for secondary servers.
This saves a page of memory per server.
The hotplug controller patch of previous versions of this series has
been dropped to give me more time for testing, and possible re-factoring.
This means that, for now, bus rescans will need to be invoked from within
the guest to notice devices provided by secondary emulators coming and going.
The demo emulator can simply be invoked from a shell. The emulated
device is not an awful lot of use at this stage - it appears as a SCSI
controller with one IO BAR and one MEM BAR and has no intrinsic
functionality... but then it is only supposed to be demo :-)
Paul
[1] http://xenbits.xen.org/gitweb/?p=people/pauldu/xen.git
[2] http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git
v2:
- First non-RFC posting
v3:
- Addressed comments from Jan Beulich
v4:
- Addressed comments from Ian Campbell and George Dunlap
- Series heavily re-worked, 2 patches added
v5:
- One more patch added to separate out a bug-fix, as requested by
Jan Beulich
- Switched to using rangesets as suggested by Jan Beulich
- Changed domain restore path as requested by Ian Campbell
- Added documentation for new hypercalls and libxenctrl API as requested
by Ian Campbell
- Added handling of multi-byte GPE I/O as suggested by Jan Beulich
v6:
- Bugfix patch dropped as it has already been taken
- Addressed various comments from Jan Beulich and Ian Campbell
- Split out the addition of asprintf() into a separate patch
- Dropped hotplug controller patch for now, to allow more time for testing
- Split out rangeset patch and make range limit optional parameter
- Added missing XSM checks
v7:
- Addressed more comments from Jan Beulich
- Backed out argument change to rangset_new() in favour of new
rangeset_limit() function
v8:
- Addressed more comments from Jan Beulich:
- Patch #1 (or patch #7 as-was) is the only patch that has been
significantly modified (in hypervisor code)
- Patches #2 and #3 are (hopefully now) fixed for style and hence
marked as acked. (There were no functional mods.)
- Fixed error message nit pointed out by Ian Campbell:
- Error message change in domain restore code in patch #1
v9:
- Addressed more comments from Jan Beulich:
- Patch #1 is the only patch that has been modified
(in hypervisor code)
v10:
- Addressed more comments from Jan Beulich:
- Patch #1 is the only patch that has been modified
(in hypervisor code)
next reply other threads:[~2014-05-22 10:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-22 10:38 Paul Durrant [this message]
2014-05-22 10:38 ` [PATCH v10 1/3] ioreq-server: add support for multiple servers Paul Durrant
2014-05-22 13:26 ` Jan Beulich
2014-05-22 13:59 ` Paul Durrant
2014-05-28 8:39 ` Paul Durrant
2014-06-06 21:02 ` Daniel De Graaf
2014-06-02 8:05 ` Jan Beulich
2014-06-02 8:34 ` Paul Durrant
2014-06-02 8:40 ` Jan Beulich
2014-06-03 19:14 ` Tian, Kevin
2014-06-04 6:23 ` Jan Beulich
2014-06-04 8:33 ` Paul Durrant
2014-05-22 10:38 ` [PATCH v10 2/3] ioreq-server: remove p2m entries when server is enabled Paul Durrant
2014-05-22 10:38 ` [PATCH v10 3/3] ioreq-server: make buffered ioreq handling optional Paul Durrant
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=1400755120-39448-1-git-send-email-paul.durrant@citrix.com \
--to=paul.durrant@citrix.com \
--cc=xen-devel@lists.xen.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).