aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 33d2219630..b930e4053e 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -594,7 +594,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device,
for(i = 0; i < smp_cpus; i++) {
env = cpu_init();
if (i != 0)
- env->cpu_halted = 1;
+ env->hflags |= HF_HALTED_MASK;
if (smp_cpus > 1) {
/* XXX: enable it in all cases */
env->cpuid_features |= CPUID_APIC;