Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the version number, without any supporting text. This makes it simpler

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Daniel P. Berrange
On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: [...] It would also be nice to avoid having to parse the -help output to determine ARGV supported too. I wonder if it would be

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Anthony Liguori
On 05/13/2010 08:33 AM, Daniel P. Berrange wrote: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensenjes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the version number, without any supporting text. This makes it simpler

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Daniel P. Berrange
On Fri, May 14, 2010 at 08:27:54AM -0500, Anthony Liguori wrote: On 05/13/2010 08:33 AM, Daniel P. Berrange wrote: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensenjes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Daniel P. Berrange
On Fri, May 14, 2010 at 01:24:44PM +0200, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: [...] It would also be nice to avoid having to parse the

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Anthony Liguori
On 05/14/2010 05:06 AM, Daniel P. Berrange wrote: On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: Daniel P. Berrangeberra...@redhat.com writes: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Daniel P. Berrange
On Fri, May 14, 2010 at 08:48:58AM -0500, Anthony Liguori wrote: On 05/14/2010 05:06 AM, Daniel P. Berrange wrote: On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: Daniel P. Berrangeberra...@redhat.com writes: On Thu, May 13, 2010 at 10:32:52AM +0200,

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-14 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: Can we do this all via the monitor? IOW, can libvirt invoke qemu blindly and strictly interact with the monitor? I think that's exactly where should be heading longer term. It's not a practical immediate solution, e.g. because device_add

[Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-13 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the version number, without any supporting text. This makes it simpler for other apps, such as libvirt, to parse the version string from QEMU independant of how the naming string may change.

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-13 Thread Daniel P. Berrange
On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the version number, without any supporting text. This makes it simpler for other apps, such as libvirt, to parse the

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-13 Thread Jes Sorensen
On 05/13/10 15:33, Daniel P. Berrange wrote: This omits the KVM version string which is something we also want to see. It would also be nice to avoid having to parse the -help output to determine ARGV supported too. I wonder if it would be a good idea to just produce a well structured

Re: [Qemu-devel] [PATCH 1/1] Add -version-simple argument, printing only version number.

2010-05-13 Thread Blue Swirl
On 5/13/10, Daniel P. Berrange berra...@redhat.com wrote: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com Add -version-simple argument for QEMU, printing just the version number, without any supporting text.