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.
Xen-devel mailing list