Bharata B Rao f2209eb854 Fix X86 CPU topology in KVM mode
apic id returned to guest kernel in ebx for cpuid(function=1) depends on
CPUX86State->cpuid_apic_id which gets populated after the cpuid information
is cached in the host kernel. This results in broken CPU topology in guest.

Fix this by setting cpuid_apic_id before cpuid information is passed to
the host kernel. This is done by moving the setting of cpuid_apic_id
to cpu_x86_init() where it will work for both KVM as well as TCG modes.

Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bharata B Rao <bharata.rao@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-11-02 07:55:05 -05:00
2011-11-02 07:55:05 -05:00
2011-10-30 17:11:54 +01:00
2011-11-02 02:12:33 +04:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-11-01 10:58:08 -05:00
2011-11-01 10:58:08 -05:00
2011-11-01 10:58:08 -05:00
2011-11-01 10:58:08 -05:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:46 -02:00
2011-11-01 20:41:06 +01:00
2011-11-01 11:50:20 -05:00
2011-11-01 10:04:05 -05:00
2011-10-27 11:48:47 -02:00
2011-10-23 15:44:15 +00:00
2011-10-26 14:15:26 +01:00
2011-10-27 11:48:47 -02:00
2011-11-01 16:38:36 +01:00
2011-11-01 19:37:01 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%