push CPUID level to 4 to allow Intel multicore decoding
authorAndre Przywara <andre.przywara@amd.com>
Wed, 19 Aug 2009 13:42:41 +0000 (15:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 00:33:15 +0000 (19:33 -0500)
commitac72472b5fb8411fbeb6789187d67ad7aef69133
tree1d9b5bba216b685ce3327526d9f16b8fa7d66662
parentdc6b1c09849484fbbc50803307e4c7a3d81eab62
push CPUID level to 4 to allow Intel multicore decoding

Intel CPUs store the number of cores in CPUID leaf 4. So push
the maxleaf value to 4 to allow the guests access to this leaf.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/helper.c