Re: [Qemu-devel] [PATCH v2 3/4] target-i386: Register QOM properties for feature flags

2015-04-09 Thread Eduardo Habkost
On Wed, Apr 08, 2015 at 04:02:42PM -0300, Eduardo Habkost wrote: [...] +names = g_strsplit(fi-feat_names[bit], |, 0); I forgot to implement the property aliases Igor asked for. I will submit v3 of this patch later. +for (i = 0; names[i]; i++) { +char *feat_name = names[i]; +

[Qemu-devel] [PATCH v2 3/4] target-i386: Register QOM properties for feature flags

2015-04-08 Thread Eduardo Habkost
This uses the feature name arrays to register feat-* QOM properties for feature flags. This simply adds the properties so they can be configured using -global, but doesn't change x86_cpu_parse_featurestr() to use them yet. Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- Changes v1 - v2: *