Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-23 Thread Andreas Färber
Am 23.08.2012 00:42, schrieb Anthony Liguori: Peter Maydell peter.mayd...@linaro.org writes: On 22 August 2012 21:24, Anthony Liguori aligu...@us.ibm.com wrote: This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio ...presumably you mean -qmp stdio -M none ?

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-23 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 23.08.2012 00:42, schrieb Anthony Liguori: Peter Maydell peter.mayd...@linaro.org writes: On 22 August 2012 21:24, Anthony Liguori aligu...@us.ibm.com wrote: We seem to be about evenly split about whether machine_init() should have a trailing

[Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Anthony Liguori
This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio Without errors from missing options that are required by various boards. This also provides a mode that we can use in the future to construct machines entirely through QMP commands. Cc: Daniel Berrange

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Eric Blake
On 08/22/2012 02:24 PM, Anthony Liguori wrote: This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio Don't you mean: $QEMU_BINARY -M none -qmp stdio I agree with including this in 1.2, as otherwise your new query-target and other commands are incomplete (that is, this

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Peter Maydell
On 22 August 2012 21:24, Anthony Liguori aligu...@us.ibm.com wrote: This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio ...presumably you mean -qmp stdio -M none ? Without errors from missing options that are required by various boards. This also provides a mode

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Anthony Liguori
Eric Blake ebl...@redhat.com writes: On 08/22/2012 02:24 PM, Anthony Liguori wrote: This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio Don't you mean: $QEMU_BINARY -M none -qmp stdio I did, thanks. I agree with including this in 1.2, as otherwise your new

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Anthony Liguori
Peter Maydell peter.mayd...@linaro.org writes: On 22 August 2012 21:24, Anthony Liguori aligu...@us.ibm.com wrote: This allows any QEMU binary to be executed with: $QEMU_BINARY -qmp stdio ...presumably you mean -qmp stdio -M none ? Without errors from missing options that are required

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Peter Maydell
On 22 August 2012 23:42, Anthony Liguori aligu...@us.ibm.com wrote: Peter Maydell peter.mayd...@linaro.org writes: How about documenting this machine (and its purpose) somewhere? Okay, but where? I don't know an obvious place. If we hadn't got ourselves into this mess where we can't change

Re: [Qemu-devel] [PATCH] boards: add a 'none' machine type to all platforms

2012-08-22 Thread Anthony Liguori
Peter Maydell peter.mayd...@linaro.org writes: On 22 August 2012 23:42, Anthony Liguori aligu...@us.ibm.com wrote: Peter Maydell peter.mayd...@linaro.org writes: How about documenting this machine (and its purpose) somewhere? Okay, but where? I don't know an obvious place. If we hadn't