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

Re: [Xen-devel] Integrate kqemu emulation into xen hypervisor possible?

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] Integrate kqemu emulation into xen hypervisor possible?
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 1 Apr 2008 19:23:51 +0100
Cc: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Delivery-date: Tue, 01 Apr 2008 11:26:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080401105036421.00000002504@djm-pc>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080401154852.GI4637@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080401105036421.00000002504@djm-pc>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Apr 01, 2008 at 10:50:36AM -0600, Dan Magenheimer wrote:
> > Ross S. W. Walker, le Tue 01 Apr 2008 11:41:24 -0400, a écrit :
> > > Samuel Thibault wrote:
> > > > Ross S. W. Walker, le Tue 01 Apr 2008 11:19:35 -0400, a écrit :
> > > > > I was wondering if now that the kqemu source has been 
> > GPL'd if it was
> > > > > possible if it's functionality could be incorporated 
> > into the Xen
> > > > > hypervisor to provide full virtualization on hardware 
> > that doesn't
> > > > > support it?
> > > >
> > > > What would be the benefit, compared to just running qemu in
> > > > user space?
> > 
> > Oooh, oops, you are talking about *k*qemu, not qemu, sorry, ok, I see.
> > Well, a first step would be to make kqemu work with Xen's dom0 Linux.
> > Then, adding the feature in the Hypervisor may make sense indeed, but
> > I'm not sure you'd get much bigger performance than with just the dom0
> > support.
> 
> If I'm not misunderstanding, an interesting side effect of this
> would be recursive virtual machines, e.g. Xen could run Xen running
> an hvm.
> 
> Who cares about such a thing in the real world, you ask?
> Probably not particularly useful in production, but it
> would be useful in education and debugging.
> 
> On the other hand, kqemu isn't really needed for that, just full
> emulation of the VT instruction set, correct?

Indeed that is correct - atlhough I've not tried it out, upstream QEMU does
already emulate the SVM instructions which should allow Xen / KVM to do
fullyvirt.

> What kqemu-in-xen *could* be used for would be running x86 VMs on
> a non-x86 architecture! (Insert shameless plug for googling
> MagiXen here :-)

No it can't - AFAIK kqemu is for matched host-guest arch only. Only plain
emulated QEMU can do mixed host-guest archiecture, and it cannot take
advantage of kqemu when doing this emulation.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

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

<Prev in Thread] Current Thread [Next in Thread>