WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Qemu-devel] [PATCH 0/7] merge some xen bits into qemu

To: qemu-devel@xxxxxxxxxx
Subject: [Xen-devel] Re: [Qemu-devel] [PATCH 0/7] merge some xen bits into qemu
From: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Date: Mon, 28 Jul 2008 09:33:50 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>
Delivery-date: Mon, 28 Jul 2008 07:34:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18573.51733.193631.369340@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <m2n.s.1KNSd3-002QXI@xxxxxxxxxxxxxxxxxxxxxx> <18573.51733.193631.369340@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Ian Jackson wrote:
Gerd Hoffmann writes ("[Qemu-devel] [PATCH 0/7] merge some xen bits into qemu"):
Here are a bunch of patches which start adding xen support to qemu.
Overview (individual patches have longer descriptions):

Just to clarify: as far as I can tell from the description,
this code has scant relationship with Xen upstream.

I'm generally in favour of pushing functionality out of the Xen branch
of qemu into upstream.  But going by Gerd Hoffman's description I
don't think that's what his branch is.  His code doesn't appear to be
related to the Xen branch of qemu that we are using.

I think it's more closely related to Xenite and Xenner. Gerd: are you planning on folding in domain creation? Right now it appears to be a helper launched after the domain creation.

For example,

With the first four patches in place upstream qemu can replace xen's
qemu-dm for paravirtual domains.  The block and nic backend drivers are
full userspace implementations using the grant table device (gntdev).

we only use qemu-dm in paravirtualised domains for certain marginal
functions - in many cases it is not used at all.  Certainly the
functionality Gerd describes, such as xen backend block and network
drivers, are not in our qemu tree and we do not intend for them to be
there.

There's no reason they couldn't be though.  It's just like blktap.

In a Xen installation this functionality is in the dom0 (host) kernel.


As far as I can see much of Gerd Hoffman's intended submission is
effectively an _emulator_ for Xen guests.  That is, it emulates a Xen
host without being one, so that a Xen domU can be run without the Xen
hypervisor.  Am I right, Gerd ?

No, it's definitely for use with Xen (hypervisor). But it's different architecturally from how Xen uses QEMU in xen-unstable.

Personally, I really like the way Gerd has the code structured. It seems like it could be used as almost a drop-in replacement for qemu-dm for PV guests. HVM guests would require more work. Of course, the net/disk support can be completely optionally.

With that said, it would be silly to have two Xen implementations within QEMU so there has to be some general agreement in the Xen community about how QEMU is going to be used before merging would make sense. That probably requires some discussion about how the HVM support would fit into this architecture.

Regards,

Anthony Liguori



I don't think there's anything wrong with that from a qemu point of
view.  Obviously we think that the genuine Xen hypervisor is much
better :-) but it is right for people to have a choice, and having
qemu emulate more environments is generally good.

But if this functionality is to go into qemu upstream perhaps it
should be distinguished from `real Xen' functions, because otherwise
users are going to become very very confused.

Ian.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel