diff --git a/hw/pc.c b/hw/pc.c
index 9055866..8b5af35 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -732,7 +732,8 @@ static void pc_init_ne2k_isa(NICInfo *nd)
 
 int cpu_is_bsp(CPUState *env)
 {
-    return env->cpuid_apic_id == 0;
+    /* We hard-wire the BSP to the first CPU. */
+    return env->cpu_index == 0;
 }
 
 CPUState *pc_new_cpu(const char *cpu_model)
