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

2010-05-13 Thread Jes . Sorensen
From: Jes Sorensen 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. Signed-off-by: Jes Sorensen ---

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 > > 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

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 equiv

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 wrote: > On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: > > From: Jes Sorensen > > > > Add -version-simple argument for QEMU, printing just the version > > number, without any supporting text. > > > > This makes it simpler for other a

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

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

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" writes: > > > On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: > >> From: Jes Sorensen > >> > >> Add -version-simple argument for QEMU, printing just the version > >> number, withou

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

2010-05-14 Thread Markus Armbruster
"Daniel P. Berrange" writes: > On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: >> "Daniel P. Berrange" 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 a good idea to just pro

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 Sorensen Add -version-simple argument for QEMU, printing just the version number, without any supporting text. This makes it simpler for other apps, such as

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 Sorensen > >> > >>Add -version-simple argument for QEMU, printing just the version >

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" writes: > > > On Fri, May 14, 2010 at 11:42:57AM +0200, Markus Armbruster wrote: > >> "Daniel P. Berrange" writes: > [...] > >> > It would also be nice to avoid having to parse the -help output to > >> > d

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. Berrange" writes: On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren...@redhat.com wrote: From: Jes Sorensen Add -version-simple argument for QE

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. Berrange" writes: > >> > >> > >>>On Thu, May 13, 2010 at 10:32:52AM +0200, jes.soren

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

2010-05-14 Thread Markus Armbruster
Anthony Liguori 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 can't cold-plug, yet.