Re: [Qemu-devel] [PATCH v2] target-i386: use static properties to list CPUID features

2012-10-23 Thread Igor Mammedov
On Tue, 23 Oct 2012 11:51:49 -0200 Eduardo Habkost wrote: > On Tue, Oct 23, 2012 at 03:26:40PM +0200, Igor Mammedov wrote: > > convert x86_cpu_list() to use QDEV_FIND_PROP_FROM_BIT() for getting > > CPUID feature name. > > In addition since x86_cpu_list() was the last user of *feature_name > > ar

Re: [Qemu-devel] [PATCH v2] target-i386: use static properties to list CPUID features

2012-10-23 Thread Eduardo Habkost
On Tue, Oct 23, 2012 at 03:26:40PM +0200, Igor Mammedov wrote: > convert x86_cpu_list() to use QDEV_FIND_PROP_FROM_BIT() for getting > CPUID feature name. > In addition since x86_cpu_list() was the last user of *feature_name > arrays, clean them up. > > Signed-off-by: Igor Mammedov > --- > v2: >

[Qemu-devel] [PATCH v2] target-i386: use static properties to list CPUID features

2012-10-23 Thread Igor Mammedov
convert x86_cpu_list() to use QDEV_FIND_PROP_FROM_BIT() for getting CPUID feature name. In addition since x86_cpu_list() was the last user of *feature_name arrays, clean them up. Signed-off-by: Igor Mammedov --- v2: * fix x86_cpu_list(), use X86CPU as base to count offset correctly * Do not f