Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Philippe Mathieu-Daudé
On 11/08/2017 03:35 PM, Eduardo Habkost wrote: > On Wed, Nov 08, 2017 at 03:03:34PM -0300, Philippe Mathieu-Daudé wrote: >> On 11/08/2017 02:25 PM, Eduardo Habkost wrote: >>> On Wed, Nov 08, 2017 at 05:06:29PM +, Daniel P. Berrange wrote: On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo H

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Eduardo Habkost
On Wed, Nov 08, 2017 at 03:03:34PM -0300, Philippe Mathieu-Daudé wrote: > On 11/08/2017 02:25 PM, Eduardo Habkost wrote: > > On Wed, Nov 08, 2017 at 05:06:29PM +, Daniel P. Berrange wrote: > >> On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo Habkost wrote: > >>> On Wed, Nov 08, 2017 at 01:21:

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Philippe Mathieu-Daudé
On 11/08/2017 02:25 PM, Eduardo Habkost wrote: > On Wed, Nov 08, 2017 at 05:06:29PM +, Daniel P. Berrange wrote: >> On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo Habkost wrote: >>> On Wed, Nov 08, 2017 at 01:21:33PM -0300, Philippe Mathieu-Daudé wrote: On 11/08/2017 10:28 AM, Daniel P.

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Daniel P. Berrange
On Wed, Nov 08, 2017 at 03:25:47PM -0200, Eduardo Habkost wrote: > On Wed, Nov 08, 2017 at 05:06:29PM +, Daniel P. Berrange wrote: > > On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo Habkost wrote: > > > On Wed, Nov 08, 2017 at 01:21:33PM -0300, Philippe Mathieu-Daudé wrote: > > > > On 11/08/

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Eduardo Habkost
On Wed, Nov 08, 2017 at 05:06:29PM +, Daniel P. Berrange wrote: > On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo Habkost wrote: > > On Wed, Nov 08, 2017 at 01:21:33PM -0300, Philippe Mathieu-Daudé wrote: > > > On 11/08/2017 10:28 AM, Daniel P. Berrange wrote: > > > > On Mon, Oct 30, 2017 at

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Daniel P. Berrange
On Wed, Nov 08, 2017 at 02:59:05PM -0200, Eduardo Habkost wrote: > On Wed, Nov 08, 2017 at 01:21:33PM -0300, Philippe Mathieu-Daudé wrote: > > On 11/08/2017 10:28 AM, Daniel P. Berrange wrote: > > > On Mon, Oct 30, 2017 at 09:20:29AM +0100, Eduardo Habkost wrote: > > >> On Mon, Oct 30, 2017 at 01:0

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Eduardo Habkost
On Wed, Nov 08, 2017 at 01:21:33PM -0300, Philippe Mathieu-Daudé wrote: > On 11/08/2017 10:28 AM, Daniel P. Berrange wrote: > > On Mon, Oct 30, 2017 at 09:20:29AM +0100, Eduardo Habkost wrote: > >> On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: > >>> examples configuring wi

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Eduardo Habkost
On Wed, Nov 08, 2017 at 01:20:49PM -0300, Philippe Mathieu-Daudé wrote: > On 11/02/2017 09:35 PM, Eduardo Habkost wrote: > > On Mon, Oct 30, 2017 at 03:14:59PM -0300, Philippe Mathieu-Daudé wrote: > >> examples configuring with '--enable-kvm --disable-tcg' > >> > >> - before > >> > >> $ qemu-syst

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Philippe Mathieu-Daudé
On 11/08/2017 10:28 AM, Daniel P. Berrange wrote: > On Mon, Oct 30, 2017 at 09:20:29AM +0100, Eduardo Habkost wrote: >> On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: >>> examples configuring with '--enable-kvm --disable-tcg' >>> >>> - before >>> >>> $ qemu-system-x86_64

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Philippe Mathieu-Daudé
On 11/02/2017 09:35 PM, Eduardo Habkost wrote: > On Mon, Oct 30, 2017 at 03:14:59PM -0300, Philippe Mathieu-Daudé wrote: >> examples configuring with '--enable-kvm --disable-tcg' >> >> - before >> >> $ qemu-system-x86_64 -accel help >> Possible accelerators: kvm, xen, hax, tcg >> >> $ qemu-sy

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-08 Thread Daniel P. Berrange
On Mon, Oct 30, 2017 at 09:20:29AM +0100, Eduardo Habkost wrote: > On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: > > examples configuring with '--enable-kvm --disable-tcg' > > > > - before > > > > $ qemu-system-x86_64 -accel help > > Possible accelerators: kvm, xen,

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-11-02 Thread Eduardo Habkost
On Mon, Oct 30, 2017 at 03:14:59PM -0300, Philippe Mathieu-Daudé wrote: > examples configuring with '--enable-kvm --disable-tcg' > > - before > > $ qemu-system-x86_64 -accel help > Possible accelerators: kvm, xen, hax, tcg > > $ qemu-system-x86_64 -accel tcg > qemu-system-x86_64: -machin

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-31 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Subject: [Qemu-devel] [RFC PATCH] vl: only display available accelerators Type: series Message-id: 20171030040056.11780-1-f4

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-30 Thread Philippe Mathieu-Daudé
Oops this isn't RFC anymore, this one is v1 ... sorry! On Mon, Oct 30, 2017 at 3:14 PM, Philippe Mathieu-Daudé wrote: [...] > --- > since RFC: > - use much cleaner object_class_get_list(TYPE_ACCEL, false) > > vl.c | 39 ++- > 1 file changed, 34 insertions(+)

[Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-30 Thread Philippe Mathieu-Daudé
examples configuring with '--enable-kvm --disable-tcg' - before $ qemu-system-x86_64 -accel help Possible accelerators: kvm, xen, hax, tcg $ qemu-system-x86_64 -accel tcg qemu-system-x86_64: -machine accel=tcg: No accelerator found # qemu-system-x86_64 -accel hax qemu-system-x86_64:

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-30 Thread Peter Maydell
On 30 October 2017 at 15:01, Philippe Mathieu-Daudé wrote: > On 10/30/2017 05:20 AM, Eduardo Habkost wrote: >> On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: >>> - I don't think this is the nicest way, too much #ifdef'fery in main() >> >> I suggest using object_class_g

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-30 Thread Philippe Mathieu-Daudé
On 10/30/2017 05:20 AM, Eduardo Habkost wrote: > On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: >> - I don't think this is the nicest way, too much #ifdef'fery in main() > > I suggest using object_class_get_list(TYPE_ACCEL, false). OK, this gives: $ qemu-system-x86_6

Re: [Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-30 Thread Eduardo Habkost
On Mon, Oct 30, 2017 at 01:00:56AM -0300, Philippe Mathieu-Daudé wrote: > examples configuring with '--enable-kvm --disable-tcg' > > - before > > $ qemu-system-x86_64 -accel help > Possible accelerators: kvm, xen, hax, tcg > > $ qemu-system-x86_64 -accel tcg > qemu-system-x86_64: -machin

[Qemu-devel] [RFC PATCH] vl: only display available accelerators

2017-10-29 Thread Philippe Mathieu-Daudé
examples configuring with '--enable-kvm --disable-tcg' - before $ qemu-system-x86_64 -accel help Possible accelerators: kvm, xen, hax, tcg $ qemu-system-x86_64 -accel tcg qemu-system-x86_64: -machine accel=tcg: No accelerator found # qemu-system-x86_64 -accel hax qemu-system-x86_64: