]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/spapr_hcall.c
shutdown: Add source information to SHUTDOWN and RESET
[mirror_qemu.git] / hw / ppc / spapr_hcall.c
index 0d608d6e28ded6cb9c8cd68d5b220565371c7ad7..49a83ee77e7566611212476042aa70e351c9d04f 100644 (file)
@@ -1162,7 +1162,7 @@ static target_ulong h_client_architecture_support(PowerPCCPU *cpu,
     spapr_ovec_cleanup(ov5_updates);
 
     if (spapr->cas_reboot) {
-        qemu_system_reset_request();
+        qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
     } else {
         /* If ppc_spapr_reset() did not set up a HPT but one is necessary
          * (because the guest isn't going to use radix) then set it up here. */