]> Git Repo - qemu.git/blobdiff - hw/ppc/spapr_hcall.c
Merge remote-tracking branch 'kraxel/chardev.5' into staging
[qemu.git] / hw / ppc / spapr_hcall.c
index 77c052fcb1d055b9e4df1446e3847be977fbd594..dd72743b5209177b3da29232c24fb11cf56269b1 100644 (file)
@@ -543,7 +543,7 @@ static target_ulong h_cede(PowerPCCPU *cpu, sPAPREnvironment *spapr,
     env->msr |= (1ULL << MSR_EE);
     hreg_compute_hflags(env);
     if (!cpu_has_work(cs)) {
-        env->halted = 1;
+        cs->halted = 1;
         env->exception_index = EXCP_HLT;
         cs->exit_request = 1;
     }
This page took 0.041026 seconds and 4 git commands to generate.