Re: [Qemu-devel] [PATCH] Change 'query-version' to output broken down version string

2010-06-07 Thread Daniel P. Berrange
On Fri, Jun 04, 2010 at 03:34:48PM -0300, Luiz Capitulino wrote: > On Wed, 2 Jun 2010 13:40:06 +0100 > "Daniel P. Berrange" wrote: > > > A previous discussion brought up the fact that clients should > > not have to parse version string from QMP, it should be given > > to them pre-split. > > Ri

Re: [Qemu-devel] [PATCH] Change 'query-version' to output broken down version string

2010-06-04 Thread Luiz Capitulino
On Wed, 2 Jun 2010 13:40:06 +0100 "Daniel P. Berrange" wrote: > A previous discussion brought up the fact that clients should > not have to parse version string from QMP, it should be given > to them pre-split. Right. > Change query-version output format from: > > { "qemu": "0.11.50", "pac

[Qemu-devel] [PATCH] Change 'query-version' to output broken down version string

2010-06-02 Thread Daniel P. Berrange
A previous discussion brought up the fact that clients should not have to parse version string from QMP, it should be given to them pre-split. Change query-version output format from: { "qemu": "0.11.50", "package": "" } to: { "major": 0, "minor": 11, "micro": 5, "package": "" } major, min