target-i386: Introduce generic CPUID feature compat function
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 25 Apr 2013 18:43:00 +0000 (15:43 -0300)
committerAndreas Färber <afaerber@suse.de>
Mon, 6 May 2013 20:14:56 +0000 (22:14 +0200)
commit0668af542f99b7bb1d95539829b27d5a1bcecde4
tree0d8a1a17942979a3393c397675b29d19be78dab1
parentb2a856d99281f2fee60a4313d204205bcd2c4269
target-i386: Introduce generic CPUID feature compat function

Introduce x86_cpu_compat_set_features(), that can be used to set/unset
feature bits on specific CPU models for machine-type compatibility.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c
target-i386/cpu.h