]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Update model values on Conroe/Penryn/Nehalem CPU models
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 27 May 2013 20:23:54 +0000 (17:23 -0300)
committerAndreas Färber <afaerber@suse.de>
Mon, 10 Jun 2013 21:33:18 +0000 (23:33 +0200)
commitffce9ebbb69363dfe7605585cdad58ea3847edf4
treefc8050aa559872dcbb137459ed2703f961b7fab9
parent45053fdef54fa9aac1cc9b09f2a1d08af90b7b43
target-i386: Update model values on Conroe/Penryn/Nehalem CPU models

The CPUID model values on Conroe, Penryn, and Nehalem are too
conservative and don't reflect the values found on real Conroe, Penryn,
and Nehalem CPUs.

This causes at least one known problems: Windows XP disables sysenter
when (family == 6 && model <= 2), but Skype tries to use the sysenter
instruction anyway because it is reported as available on CPUID, making
it crash.

This patch sets appropriate model values that correspond to real Conroe,
Penryn, and Nehalem CPUs.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h
target-i386/cpu.c