diff options
Diffstat (limited to 'hw/apic.c')
-rw-r--r-- | hw/apic.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -816,6 +816,7 @@ int apic_init(CPUState *env) env->apic_state = s; apic_init_ipi(s); s->id = last_apic_id++; + env->cpuid_apic_id = s->id; s->cpu_env = env; s->apicbase = 0xfee00000 | (s->id ? 0 : MSR_IA32_APICBASE_BSP) | MSR_IA32_APICBASE_ENABLE; |