[Qemu-devel] [PATCH RFC] qmp, target-i386: device_list_properties for TYPE_CPU

2016-02-12 Thread Valentin Rakush
qmp_device_list_properties and only target-i386 to allow TYPE_CPU class properties to be quered with QMP interface and with -device core2duo-x86_64-cpu,help command line. Signed-off-by: Valentin Rakush Cc: Luiz Capitulino Cc: Eric Blake Cc: Markus Armbruster Cc: Andreas Färber Cc: Daniel P. Berrange Cc

Re: [Qemu-devel] [PATCH v5] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-02-07 Thread Valentin Rakush
016 at 6:55 PM, Eduardo Habkost wrote: > On Sun, Jan 31, 2016 at 04:40:54PM +0300, Valentin Rakush wrote: > > Hi Eduardo, > > > > I will try to answer some of your questions at this email and will answer > > other questions later. > > > > > Can you clar

Re: [Qemu-devel] [PATCH v5] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-31 Thread Valentin Rakush
i, Jan 29, 2016 at 6:28 PM, Eduardo Habkost wrote: > On Fri, Jan 29, 2016 at 01:03:38PM +0300, Valentin Rakush wrote: > > Hi Eduardo, hi Daniel, > > > > I checked most of the classes that are used for x86_64 qemu simulation > with > > this command line: > > x86_64

Re: [Qemu-devel] [PATCH v5] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-29 Thread Valentin Rakush
On Tue, Jan 26, 2016 at 03:51:21PM +, Daniel P. Berrange wrote: > > > > > On Tue, Jan 26, 2016 at 01:35:38PM -0200, Eduardo Habkost wrote: > > > > > > On Mon, Jan 25, 2016 at 11:24:47AM +0300, Valentin Rakush wrote: > > > > > > > This pa

Re: [Qemu-devel] [PATCH v5] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-27 Thread Valentin Rakush
Habkost wrote: > > On Tue, Jan 26, 2016 at 03:51:21PM +, Daniel P. Berrange wrote: > > > On Tue, Jan 26, 2016 at 01:35:38PM -0200, Eduardo Habkost wrote: > > > > On Mon, Jan 25, 2016 at 11:24:47AM +0300, Valentin Rakush wrote: > > > > > This patch adds

Re: [Qemu-devel] [PATCH v4] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-26 Thread Valentin Rakush
Hi Eric, On Mon, Jan 25, 2016 at 8:43 PM, Eric Blake wrote: > On 01/22/2016 01:20 PM, Valentin Rakush wrote: > > Hi Eric, hi Daniel, > > > > Re dashes in the command name > > > > AFAICC, the QOM related command in HMP use dash "-". For example, > qo

Re: [Qemu-devel] [RFC] target-i386: Display i386 CPUID properties

2016-01-25 Thread Valentin Rakush
On Sat, Jan 23, 2016 at 5:01 PM, Eduardo Habkost wrote: > On Tue, Jan 12, 2016 at 02:50:20PM +, Daniel P. Berrange wrote: > > On Tue, Jan 12, 2016 at 05:36:27PM +0300, Valentin Rakush wrote: > > > This is RFC because implementation depends on the upcoming class > >

[Qemu-devel] [PATCH v5] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-25 Thread Valentin Rakush
This patch adds support for qom-type-prop-list command to list object class properties. A later patch will use this functionality to implement x86_64-cpu properties. Signed-off-by: Valentin Rakush Cc: Luiz Capitulino Cc: Eric Blake Cc: Markus Armbruster Cc: Andreas Färber Cc: Daniel P

Re: [Qemu-devel] [PATCH v4] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-22 Thread Valentin Rakush
2 PM, Eric Blake wrote: > On 01/22/2016 05:15 AM, Valentin Rakush wrote: > > This patch adds support for qom-type-prop-list command to list object > > class properties. A later patch will use this functionality to > > implement x86_64-cpu properties. > > > > Signed-of

[Qemu-devel] [PATCH v4] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-22 Thread Valentin Rakush
This patch adds support for qom-type-prop-list command to list object class properties. A later patch will use this functionality to implement x86_64-cpu properties. Signed-off-by: Valentin Rakush Cc: Luiz Capitulino Cc: Eric Blake Cc: Markus Armbruster Cc: Andreas Färber Cc: Daniel P

[Qemu-devel] [PATCH v3] qom, qmp, hmp, qapi: create qom-type-prop-list for class properties

2016-01-22 Thread Valentin Rakush
This patch adds support for qom-type-prop-list command to list object class properties. A later patch will use this functionality to implement x86_64-cpu properties. Signed-off-by: Valentin Rakush Cc: Luiz Capitulino Cc: Eric Blake Cc: Markus Armbruster Cc: Andreas Färber Cc: Daniel P

[Qemu-devel] [PATCH v2] qom, qmp, hmp, qapi: create qom-type-list for class properties

2016-01-22 Thread Valentin Rakush
This patch adds support for qom-type-prop-list command to list object class properties. A later patch will use this functionality to implement x86_64-cpu properties. Signed-off-by: Valentin Rakush Cc: Luiz Capitulino Cc: Eric Blake Cc: Markus Armbruster Cc: Andreas Färber Cc: Daniel P

[Qemu-devel] [PATCH] qom, qmp, hmp, qapi: create qom-type-list for class properties

2016-01-20 Thread Valentin Rakush
This patch adds support for qom-type-list command that supposed to list object class properties. Will use this functionality further to implement x86_64 cpu properties. Additionally object_class_property_iterator_init function is implemented for consistency. Signed-off-by: Valentin Rakush

Re: [Qemu-devel] [RFC] target-i386: Display i386 CPUID properties

2016-01-14 Thread Valentin Rakush
On Tue, Jan 12, 2016 at 5:50 PM, Daniel P. Berrange wrote: > On Tue, Jan 12, 2016 at 05:36:27PM +0300, Valentin Rakush wrote: > > This is RFC because implementation depends on the upcoming class > > properties > > http://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg03

[Qemu-devel] [RFC] target-i386: Display i386 CPUID properties

2016-01-12 Thread Valentin Rakush
. Output formatting: - list cpu properties per CPUID - list cpu properties along with values 5. and more ... Signed-off-by: Valentin Rakush --- include/qom/cpu.h| 2 + include/qom/object.h | 46 +++ qom/cpu.c| 50 qom/object.c | 220