Re: [Qemu-devel] [PATCH v4] target-i386: Register QOM properties for feature flags

2015-04-14 Thread Igor Mammedov
On Tue, 14 Apr 2015 11:08:39 -0300 Eduardo Habkost wrote: [...] > > > +/* Register a boolean feature-bits property. > > > + * If mask has multiple bits, all must be set for the property to return > > > true. > > > + * The same property name can be registered multiple times to make it > > > affe

Re: [Qemu-devel] [PATCH v4] target-i386: Register QOM properties for feature flags

2015-04-14 Thread Eduardo Habkost
On Tue, Apr 14, 2015 at 01:49:19PM +0200, Igor Mammedov wrote: > On Fri, 10 Apr 2015 17:02:29 -0300 > Eduardo Habkost wrote: > > > This uses the feature name arrays to register QOM properties for feature > > flags. This simply adds properties that can be configured using -global, > > but doesn't

Re: [Qemu-devel] [PATCH v4] target-i386: Register QOM properties for feature flags

2015-04-14 Thread Igor Mammedov
On Fri, 10 Apr 2015 17:02:29 -0300 Eduardo Habkost wrote: > This uses the feature name arrays to register QOM properties for feature > flags. This simply adds properties that can be configured using -global, > but doesn't change x86_cpu_parse_featurestr() to use them yet. > > Signed-off-by: Edua

[Qemu-devel] [PATCH v4] target-i386: Register QOM properties for feature flags

2015-04-10 Thread Eduardo Habkost
This uses the feature name arrays to register QOM properties for feature flags. This simply adds properties that can be configured using -global, but doesn't change x86_cpu_parse_featurestr() to use them yet. Signed-off-by: Eduardo Habkost --- Changes v1 -> v2: * Use "cpuid-" prefix instead of "f