[Qemu-devel] [PATCH v3] Fix X86 CPU topology in KVM mode

2011-11-02 Thread bharata . rao
From: Bharata B Rao 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 info

[Qemu-devel] [PATCH v2] Fix X86 CPU topology in KVM mode

2011-09-07 Thread bharata . rao
From: Bharata B Rao 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 info