From: Anthony Liguori <anthony@codemonkey.ws>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Xen's qemu branches, etc.
Date: Mon, 11 Aug 2008 14:17:21 -0500 [thread overview]
Message-ID: <48A09041.2040306@codemonkey.ws> (raw)
In-Reply-To: <18592.27270.794441.413710@mariner.uk.xensource.com>
Hi Ian,
Ian Jackson wrote:
> Because Xen 3.3 is nearing release and currently firmly frozen, both
> of these branches are currently based on a few months' old version of
> qemu upstream. I intend to fork off new development branches of both
> very soon, and then bring both of them up to parity with a modern qemu
> upstream. One natural output of such a merge process is a number of
> patches for upstream.
>
I'm looking forward to this and appreciate your work here.
> It would be very nice to get the differences between qemu in Xen and
> qemu upstream down to zero. There are three kinds of change in our
> tree which will prevent this in the short to medium term:
>
> Firstly, there are some things in our tree which are simply too ugly.
> We would like to improve them and feed them upstream in due course,
> but that's more of a medium to long term project. A top priority in
> this area is display handling.
>
> Secondly, there are changes which are only useful in a Xen context.
> An example would be the machinery to monitor `disk change' events
> which are injected via the Xen management tools. This is done in our
> qemu by xen-specific code which talks to the xenstore IPC/IDC daemon.
> This code is completely Xen specific and depends on the presence of
> the Xen management stack, so it must only be compiled in to the
> specific Xen device model qemu executable. We would be happy to have
> this code in qemu upstream, but it is quite closely linked to much of
> the Xen management toolstack and quite loosely coupled to the rest of
> qemu so in practice this is not currently a priority for us.
>
I think that there is room to discuss these sort of things. I think
most of these things will actually fall into the first category where we
could add the same mechanism to QEMU (perhaps via the monitor), and then
Xen could have a small shim that interacted with both XenStore and the
QEMU monitor. But really, this isn't the low hanging fruit so we can
cross this bridge when we come to it :-)
> There are also another set of concievable things: _emulations_ in qemu
> of the Xen environment, so that a Xen PV guest can be run without the
> Xen hypervisor and host infrastructure, or so that Xen PV drivers can
> be used to improve the performance of a plain qemu guest.
>
> That includes, for example, xenstore/xenbus emulation, Xen PV backend
> drivers, and the like. Gerd's patches contained several such things.
>
The patch series that Gerd posted has nothing to do with a Xen shim or
emulation layer. The PV backends are directly usable by Xen. Now if
ya'll want nothing to do with these backends, then I'm inclined to wait
to add those backends until they are being used by something before
pulling it into QEMU. There's no point in adding code to QEMU that
noone is actually going to use.
So that may mean waiting to pull in the userspace net/block backends
until Xenner can be merged into QEMU. That seems fine to me.
> I think a qemu emulator which can support Xen guests without needing
> Xen is in principle a fine and good thing to have in qemu upstream.
> We don't have it in our Xen tree because we have the real hypervisor
> and dom0-provided backends. But I'm sure we'd find them useful for
> debugging.
>
> BUT we have to not get confused so the names must be different.
>
So far, I haven't seen patches on qemu-devel that are for a Xen
shim/emulation layer so that doesn't seem like a problem to me. I
assume anything related to the shim/emulation layer will be clearly
identified as 'Xenner' anyway.
> It is necessary to clearly distinguish these two use cases:
>
> * qemu-dm run under the Xen hypervisor, xend, with xenstore, to
> support Xen guests as currently done in the Xen upstream project
>
> * qemu emulating the Xen environment
>
> I think these should be given different names. We should not use
> `xen' for both.
>
To me, this isn't a big issue. Whether we have one or two machine types
will be determined by the implementations. What I want to see is as
much code sharing as possible for both cases.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2008-08-11 19:18 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 15:50 [Qemu-devel] [PATCH 0/7] merge some xen bits into qemu Gerd Hoffmann
2008-08-04 15:50 ` [Qemu-devel] [PATCH 1/7] xen: groundwork for xen support Gerd Hoffmann
2008-08-04 16:34 ` Blue Swirl
2008-08-04 18:01 ` Gerd Hoffmann
2008-08-04 17:35 ` Anthony Liguori
2008-08-04 18:04 ` Gerd Hoffmann
2008-08-04 15:50 ` [Qemu-devel] [PATCH 2/7] xen: backend driver core Gerd Hoffmann
2008-08-04 15:50 ` [Qemu-devel] [PATCH 3/7] xen: add console backend driver Gerd Hoffmann
2008-08-04 16:52 ` Blue Swirl
2008-08-04 18:15 ` Gerd Hoffmann
2008-08-04 20:47 ` Blue Swirl
2008-08-04 15:50 ` [Qemu-devel] [PATCH 4/7] xen: add framebuffer " Gerd Hoffmann
2008-08-04 17:09 ` Blue Swirl
2008-08-04 18:20 ` Gerd Hoffmann
2008-08-04 15:50 ` [Qemu-devel] [PATCH 5/7] xen: add block device " Gerd Hoffmann
2008-08-04 17:26 ` Blue Swirl
2008-08-04 17:37 ` Samuel Thibault
2008-08-04 17:46 ` Anthony Liguori
2008-08-04 19:50 ` Gerd Hoffmann
2008-08-04 20:04 ` Paul Brook
2008-08-05 7:18 ` Gerd Hoffmann
2008-08-04 20:58 ` Blue Swirl
2008-08-05 7:01 ` Gerd Hoffmann
2008-08-04 21:34 ` [Xen-devel] " Samuel Thibault
2008-08-05 6:52 ` Gerd Hoffmann
2008-08-05 10:47 ` Samuel Thibault
2008-08-05 11:07 ` Gerd Hoffmann
2008-08-05 11:36 ` Samuel Thibault
2008-08-04 15:50 ` [Qemu-devel] [PATCH 6/7] xen: add net " Gerd Hoffmann
2008-08-04 15:50 ` [Qemu-devel] [PATCH 7/7] xen: blk & nic configuration via cmd line Gerd Hoffmann
2008-08-04 17:35 ` Blue Swirl
2008-08-04 18:12 ` Gerd Hoffmann
2008-08-04 20:45 ` Blue Swirl
2008-08-04 17:42 ` [Qemu-devel] [PATCH 0/7] merge some xen bits into qemu Anthony Liguori
2008-08-05 9:58 ` Gerd Hoffmann
2008-08-05 10:15 ` Samuel Thibault
2008-08-05 10:46 ` Samuel Thibault
2008-08-05 11:12 ` Gerd Hoffmann
2008-08-05 11:29 ` Samuel Thibault
2008-08-05 13:18 ` Gerd Hoffmann
2008-08-05 15:03 ` Samuel Thibault
2008-08-05 15:41 ` Samuel Thibault
2008-08-05 15:46 ` Anthony Liguori
2008-08-05 16:07 ` Blue Swirl
2008-08-05 15:47 ` Samuel Thibault
2008-08-06 10:14 ` Gerd Hoffmann
2008-08-06 10:23 ` Samuel Thibault
2008-08-06 12:43 ` [Xen-devel] " Markus Armbruster
2008-08-06 12:50 ` Samuel Thibault
2008-08-06 13:54 ` Gerd Hoffmann
2008-08-06 14:01 ` Samuel Thibault
2008-08-06 14:08 ` Gerd Hoffmann
2008-08-06 14:25 ` Samuel Thibault
2008-08-06 15:35 ` Gerd Hoffmann
2008-08-06 15:47 ` Samuel Thibault
2008-08-06 22:10 ` Gerd Hoffmann
2008-08-06 22:16 ` Samuel Thibault
2008-08-06 16:01 ` Laurent Vivier
2008-08-06 22:10 ` Samuel Thibault
2008-08-07 7:33 ` Gerd Hoffmann
2008-08-07 10:53 ` Samuel Thibault
2008-08-07 12:13 ` Gerd Hoffmann
2008-08-07 12:54 ` Samuel Thibault
2008-08-07 16:17 ` Gerd Hoffmann
2008-08-07 16:48 ` Samuel Thibault
2008-08-07 16:54 ` Samuel Thibault
2008-08-07 16:09 ` Samuel Thibault
2008-08-07 16:34 ` Samuel Thibault
2008-08-11 8:16 ` Gerd Hoffmann
2008-08-11 9:23 ` Stefano Stabellini
2008-08-11 10:12 ` Ian Jackson
2008-08-07 15:06 ` Blue Swirl
2008-08-07 15:13 ` Samuel Thibault
2008-08-07 15:13 ` Samuel Thibault
2008-08-07 15:21 ` Gerd Hoffmann
2008-08-08 15:24 ` Blue Swirl
2008-08-11 12:46 ` Gerd Hoffmann
2008-08-11 18:53 ` Blue Swirl
2008-08-08 11:03 ` Samuel Thibault
2008-08-07 17:40 ` Stefano Stabellini
2008-08-11 9:18 ` Ian Jackson
2008-08-11 11:08 ` Gerd Hoffmann
2008-08-06 13:24 ` Gerd Hoffmann
2008-08-06 13:39 ` Samuel Thibault
2008-08-06 14:18 ` Gerd Hoffmann
2008-08-06 14:51 ` Samuel Thibault
2008-08-06 15:25 ` Gerd Hoffmann
2008-08-11 16:36 ` [Qemu-devel] Xen's qemu branches, etc Ian Jackson
2008-08-11 16:48 ` [Qemu-devel] Re: [Xen-devel] " Samuel Thibault
2008-08-11 19:17 ` Anthony Liguori [this message]
2008-08-11 19:34 ` [Qemu-devel] " Gerd Hoffmann
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=48A09041.2040306@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Ian.Jackson@eu.citrix.com \
--cc=qemu-devel@nongnu.org \
--cc=xen-devel@lists.xensource.com \
/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).