Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 12:49 PM, Alexander Graf wrote: On 16.11.2010, at 19:22, Anthony PERARD wrote: On Tue, 16 Nov 2010, Anthony Liguori wrote: On 11/16/2010 11:24 AM, Alexander Graf wrote: On 16.11.2010, at 18:20, Anthony Liguori wrote: On 11/16/2010 10:59 AM, Alexan

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 19:22, Anthony PERARD wrote: > On Tue, 16 Nov 2010, Anthony Liguori wrote: > >> On 11/16/2010 11:24 AM, Alexander Graf wrote: >>> On 16.11.2010, at 18:20, Anthony Liguori wrote: >>> >>> On 11/16/2010 10:59 AM, Alexander Graf wrote: > >> Surely, only if it

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony PERARD
On Tue, 16 Nov 2010, Anthony Liguori wrote: > On 11/16/2010 11:24 AM, Alexander Graf wrote: > > On 16.11.2010, at 18:20, Anthony Liguori wrote: > > > > > >> On 11/16/2010 10:59 AM, Alexander Graf wrote: > >> > >>> > Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM > >

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 18:27, Anthony Liguori wrote: > On 11/16/2010 11:24 AM, Alexander Graf wrote: >> On 16.11.2010, at 18:20, Anthony Liguori wrote: >> >> >>> On 11/16/2010 10:59 AM, Alexander Graf wrote: >>> > Surely, only if it is running on a Xen Dom0. If you use -M xenp

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 11:24 AM, Alexander Graf wrote: On 16.11.2010, at 18:20, Anthony Liguori wrote: On 11/16/2010 10:59 AM, Alexander Graf wrote: Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xenpv should imply -machine accel=kvm (ie it wou

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 18:20, Anthony Liguori wrote: > On 11/16/2010 10:59 AM, Alexander Graf wrote: >> >>> Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM >>> host, then -M xenpv should imply -machine accel=kvm (ie it would be using >>> xenner) >>> >> Actually, it shou

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 10:59 AM, Alexander Graf wrote: Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xenpv should imply -machine accel=kvm (ie it would be using xenner) Actually, it should imply -machine accel=kvm,tcg :). Accelerators really are not a ma

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 10:55 AM, Daniel P. Berrange wrote: Just -machine accel=accels. Part of my rational is that accelerator is a machine property. If you do -M xenpv it ought to imply -machine accel=xen. Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xe

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 17:55, Daniel P. Berrange wrote: > On Tue, Nov 16, 2010 at 10:41:25AM -0600, Anthony Liguori wrote: >> On 11/16/2010 10:10 AM, Anthony PERARD wrote: >>> On Mon, 15 Nov 2010, Anthony Liguori wrote: >>> >>> On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote:

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Daniel P. Berrange
On Tue, Nov 16, 2010 at 10:41:25AM -0600, Anthony Liguori wrote: > On 11/16/2010 10:10 AM, Anthony PERARD wrote: > >On Mon, 15 Nov 2010, Anthony Liguori wrote: > > > > > >>On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote: > >> > >>>From: Anthony PERARD > >>> > >>>This option gives th

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 10:10 AM, Anthony PERARD wrote: On Mon, 15 Nov 2010, Anthony Liguori wrote: On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote: From: Anthony PERARD This option gives the ability to switch one "accelerator" like kvm, xen or the default one tcg. We can specify more

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony PERARD
On Mon, 15 Nov 2010, Anthony Liguori wrote: > On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote: > > From: Anthony PERARD > > > > This option gives the ability to switch one "accelerator" like kvm, xen > > or the default one tcg. We can specify more than one accelerator by > > separate them

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-15 Thread Anthony Liguori
On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote: From: Anthony PERARD This option gives the ability to switch one "accelerator" like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a comma. QEMU will try each one and use the first whose works

[Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-15 Thread anthony . perard
From: Anthony PERARD This option gives the ability to switch one "accelerator" like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a comma. QEMU will try each one and use the first whose works. So, -accel xen,kvm,tcg which would try Xen support fi