qemu-patch-raspberry4/target-i386
Andre Przywara 6d9fef1a02 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>
2009-12-07 11:13:42 -06:00
..
cpu.h kvm: x86: Add support for VCPU event states 2009-12-03 15:25:57 -06:00
exec.h
helper.c cpuid: Fix multicore setup on Intel 2009-12-07 11:13:42 -06:00
helper.h target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
helper_template.h
kvm.c kvm: x86: Fix initial kvm_has_msr_star 2009-12-07 08:45:47 -06:00
machine.c kvm: x86: Add support for VCPU event states 2009-12-03 15:25:57 -06:00
op_helper.c target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
ops_sse.h
ops_sse_header.h
svm.h
TODO
translate.c target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00