]> git.proxmox.com Git - qemu.git/commit - target-i386/cpu.c
target-i386: Set level=4 on Conroe/Penryn/Nehalem
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 27 May 2013 20:23:55 +0000 (17:23 -0300)
committerAndreas Färber <afaerber@suse.de>
Mon, 10 Jun 2013 21:33:18 +0000 (23:33 +0200)
commit6b11322e0f724eb0649fdc324a44288b783023ad
tree936ad12b15bcb07b9ba86d1324df78ada5821b15
parentffce9ebbb69363dfe7605585cdad58ea3847edf4
target-i386: Set level=4 on Conroe/Penryn/Nehalem

The CPUID level value on Conroe, Penryn, and Nehalem are too low. This
causes at least one known problem: the -smp "threads" option doesn't
work as expect if level is < 4, because thread count information is
provided to the guest on CPUID[EAX=4,ECX=2].EAX

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