Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-22 Thread Anthony Liguori
Daniel P. Berrange berra...@redhat.com writes: On Tue, Aug 21, 2012 at 09:53:55AM -0300, Luiz Capitulino wrote: On Tue, 21 Aug 2012 11:07:50 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Mon, Aug 20, 2012 at 04:02:39PM -0300, Luiz Capitulino wrote: On Mon, 20 Aug 2012 15:31:38

[Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size (v2)

2012-08-22 Thread Anthony Liguori
From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the binary name or -help output $ qmp-shell -p /tmp/qemu (QEMU) query-target {

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size (v2)

2012-08-22 Thread Daniel P. Berrange
You can remove '/bit size' in the commit message 1st line. On Wed, Aug 22, 2012 at 10:09:38AM -0500, Anthony Liguori wrote: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size (v2)

2012-08-22 Thread Eric Blake
On 08/22/2012 09:09 AM, Anthony Liguori wrote: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the binary name or -help output $

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size (v2)

2012-08-22 Thread Luiz Capitulino
On Wed, 22 Aug 2012 10:09:38 -0500 Anthony Liguori aligu...@us.ibm.com wrote: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the binary

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Daniel P. Berrange
On Mon, Aug 20, 2012 at 04:48:24PM -0500, Anthony Liguori wrote: Daniel P. Berrange berra...@redhat.com writes: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Daniel P. Berrange
On Mon, Aug 20, 2012 at 04:02:39PM -0300, Luiz Capitulino wrote: On Mon, 20 Aug 2012 15:31:38 +0100 Daniel P. Berrange berra...@redhat.com wrote: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Peter Maydell
On 21 August 2012 11:05, Daniel P. Berrange berra...@redhat.com wrote: On Mon, Aug 20, 2012 at 04:48:24PM -0500, Anthony Liguori wrote: bits is really ambiguous. What it means in QEMU (specifically the value you are returning) is probably not what you expect it to mean. My intent was to

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Daniel P. Berrange
On Tue, Aug 21, 2012 at 11:17:40AM +0100, Peter Maydell wrote: On 21 August 2012 11:05, Daniel P. Berrange berra...@redhat.com wrote: On Mon, Aug 20, 2012 at 04:48:24PM -0500, Anthony Liguori wrote: bits is really ambiguous. What it means in QEMU (specifically the value you are returning)

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Luiz Capitulino
On Tue, 21 Aug 2012 11:07:50 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Mon, Aug 20, 2012 at 04:02:39PM -0300, Luiz Capitulino wrote: On Mon, 20 Aug 2012 15:31:38 +0100 Daniel P. Berrange berra...@redhat.com wrote: From: Daniel P. Berrange berra...@redhat.com Add a

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Daniel P. Berrange
On Tue, Aug 21, 2012 at 09:53:55AM -0300, Luiz Capitulino wrote: On Tue, 21 Aug 2012 11:07:50 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Mon, Aug 20, 2012 at 04:02:39PM -0300, Luiz Capitulino wrote: On Mon, 20 Aug 2012 15:31:38 +0100 Daniel P. Berrange berra...@redhat.com

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-21 Thread Anthony Liguori
Daniel P. Berrange berra...@redhat.com writes: On Mon, Aug 20, 2012 at 04:48:24PM -0500, Anthony Liguori wrote: Daniel P. Berrange berra...@redhat.com writes: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine

[Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-20 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the binary name or -help output $ qmp-shell -p /tmp/qemu (QEMU) query-target {

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-20 Thread Luiz Capitulino
On Mon, 20 Aug 2012 15:31:38 +0100 Daniel P. Berrange berra...@redhat.com wrote: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the

Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size

2012-08-20 Thread Anthony Liguori
Daniel P. Berrange berra...@redhat.com writes: From: Daniel P. Berrange berra...@redhat.com Add a 'query-target' QAPI command to allow management applications to determine what target architecture a QEMU binary is emulating without having to parse the binary name or -help output $