]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/pc.c
shutdown: Add source information to SHUTDOWN and RESET
[mirror_qemu.git] / hw / i386 / pc.c
index 816bfa872ce3de10ccb38fa0410ffdf3c60acfec..107a34125bef91bd139289c0da59381e62bc136e 100644 (file)
@@ -519,7 +519,7 @@ static void port92_write(void *opaque, hwaddr addr, uint64_t val,
     s->outport = val;
     qemu_set_irq(s->a20_out, (val >> 1) & 1);
     if ((val & 1) && !(oldval & 1)) {
-        qemu_system_reset_request();
+        qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
     }
 }