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 RFC V3 03/12] xen: Introduce --enabl

To: Alexander Graf <agraf@xxxxxxx>
Subject: [Xen-devel] Re: [Qemu-devel] [PATCH RFC V3 03/12] xen: Introduce --enable-xen command options.
From: Anthony PERARD <anthony@xxxxxxxxxx>
Date: Tue, 21 Sep 2010 12:18:03 +0100 (BST)
Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 23 Sep 2010 05:38:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFE9B5E-A51B-4877-BF17-7A529D0C78C3@xxxxxxx>
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: <1284722107-28550-1-git-send-email-anthony.perard@xxxxxxxxxx> <1284722107-28550-4-git-send-email-anthony.perard@xxxxxxxxxx> <4BFE9B5E-A51B-4877-BF17-7A529D0C78C3@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 1.10 (DEB 962 2008-03-14)
On Fri, 17 Sep 2010, Alexander Graf wrote:

> On 17.09.2010, at 13:14, Anthony.Perard@xxxxxxxxxx wrote:
>
> > diff --git a/qemu-options.hx b/qemu-options.hx
> > index a0b5ae9..457ca32 100644
> > --- a/qemu-options.hx
> > +++ b/qemu-options.hx
> > @@ -1904,6 +1904,15 @@ Enable KVM full virtualization support. This option 
> > is only available
> > if KVM support is enabled when compiling.
> > ETEXI
> >
> > +DEF("enable-xen", 0, QEMU_OPTION_enable_xen, \
> > +    "-enable-xen     enable Xen full virtualization support\n", 
> > QEMU_ARCH_ALL)
>
> This is probably a good point in time to switch to something a bit more 
> sophisticated. I was thinking of
>
>   qemu -accel xen,kvm,tcg
>
> which would first try to enable xen support, then kvm support and fall back 
> to tcg if none is available. The default would be pretty much the line above.
>
> That way we could finally get rid of all those -enable-kvm and 
> -enable-whatever switches. We would still need to keep backwards compat for 
> -enable-kvm by mapping it to "-accel kvm" internally. But in the long run an 
> -accel parameter just makes so much more sense.

Ok, I will add this option, but the default one will be -accel tcg
because qemu with xen can't run without a tool stack at this moment and
the default behavior of qemu with kvm is to run with tcg.

Thanks,

-- 
Anthony PERARD

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

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