qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [RFC] target-i386: Display i386 CPUID properties
Date: Sat, 23 Jan 2016 12:01:53 -0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jan 12, 2016 at 02:50:20PM +0000, 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/msg03115.html
> > and also because this patch does not handle all x86_64 properties.
> > 
> > This RFC is in response to concerns pointed in this review but with changed 
> > subject line as recommended. 
> > http://lists.nongnu.org/archive/html/qemu-devel/2016-01/msg00053.html
> > 
> > This RFC demonstrates the way for displaying cpu properties using -cpu
> > help option.
> 
> The point of doing this with QOM class properties, is such that we can
> create a facility to query class properties for any QOM type in a
> consistent manner.  I was expecting this would take the form of a
> QMP monitor command 'qom-type-properties' or something along those
> lines.

Also, note that qmp_device_list_properties() already does what
you want to do, without requiring class-properties.

This means you can implement the new interfaces (help output, QMP
changes) without any new QOM core code. You can also propose QOM
class-properties, if it helps making code simpler, but it's not a
requirement for returning QOM properties on QMP/help output.

-- 
Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]