summaryrefslogtreecommitdiffstats
path: root/qerror.c
diff options
context:
space:
mode:
authorAndre Przywara2009-12-07 11:58:02 +0100
committerAnthony Liguori2009-12-07 18:13:42 +0100
commit6d9fef1a02e6efd51e9ebd0130651ca61f75839b (patch)
treec6f39e706ab60de18e359608f98e9a2376406271 /qerror.c
parentkvm: x86: Fix initial kvm_has_msr_star (diff)
downloadqemu-6d9fef1a02e6efd51e9ebd0130651ca61f75839b.tar.gz
qemu-6d9fef1a02e6efd51e9ebd0130651ca61f75839b.tar.xz
qemu-6d9fef1a02e6efd51e9ebd0130651ca61f75839b.zip
cpuid: Fix multicore setup on Intel
The multicore CPUID code detects whether the guest is an Intel or an AMD CPU, because the Linux kernel is picky about the CmpLegacy bit. KVM by default passes through the host's vendor, which was not catched by the code. So fork out the vendor determining bits into a separate function to be used from both places and always get the real vendor. This fixes KVM's multicore setup on Intel CPUs. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Reported-by: Dietmar Maurer <dietmar@proxmox.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.c')
0 files changed, 0 insertions, 0 deletions