qemu/include/hw/i386
Radim Krčmář 3046bb5deb target-i386: emulate CPUID level of real hardware
W10 insider has a bug where it ignores CPUID level and interprets
CPUID.(EAX=07H, ECX=0H) incorrectly, because CPUID in fact returned
CPUID.(EAX=04H, ECX=0H);  this resulted in execution of unsupported
instructions.

While it's a Windows bug, there is no reason to emulate incorrect level.

I used http://instlatx64.atw.hu/ as a source of CPUID and checked that
it matches Penryn Xeon X5472, Westmere Xeon W3520, SandyBridge i5-2540M,
and Haswell i5-4670T.

kvm64 and qemu64 were bumped to 0xD to allow all available features for
them (and to avoid the same Windows bug).

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2015-07-15 17:05:59 -03:00
..
apic_internal.h kvm/apic: fix 2.2->2.1 migration 2014-12-15 12:21:02 +01:00
apic-msidef.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
apic.h target-i386: clear bsp bit when designating bsp 2015-04-02 15:57:27 +02:00
ich9.h ich9: implement strap SPKR pin logic 2015-07-08 10:09:55 +03:00
intel_iommu.h intel_iommu: fix VTD_SID_TO_BUS 2014-11-02 12:03:04 +02:00
ioapic_internal.h ioapic: QOM'ify ioapic 2013-12-24 18:02:18 +01:00
ioapic.h pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h 2013-07-29 19:33:32 -05:00
pc.h target-i386: emulate CPUID level of real hardware 2015-07-15 17:05:59 -03:00
smbios.h smbios: Encode UUID according to SMBIOS specification 2014-11-02 13:44:52 +02:00
topology.h target-i386: Move topology.h to include/hw/i386 2015-03-09 16:30:02 -03:00