]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/isa/lpc_ich9.c
shutdown: Add source information to SHUTDOWN and RESET
[mirror_qemu.git] / hw / isa / lpc_ich9.c
index e2215dcf4d45f220724947f8521472a6016e1f85..ac8416d42b0db869dec34db8e04b0865729bc2c4 100644 (file)
@@ -606,7 +606,7 @@ static void ich9_rst_cnt_write(void *opaque, hwaddr addr, uint64_t val,
     ICH9LPCState *lpc = opaque;
 
     if (val & 4) {
-        qemu_system_reset_request();
+        qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
         return;
     }
     lpc->rst_cnt = val & 0xA; /* keep FULL_RST (bit 3) and SYS_RST (bit 1) */