]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/acpi/generic_event_device.c
Merge tag 'pull-block-2022-07-27' of https://gitlab.com/vsementsov/qemu into staging
[mirror_qemu.git] / hw / acpi / generic_event_device.c
index 39c825763ad86fd9ec39a39291cfab1cf12e4c41..e28457a7d103f58ce8f12b38b55af2a266fb1205 100644 (file)
@@ -207,7 +207,7 @@ static void ged_regs_write(void *opaque, hwaddr addr, uint64_t data,
         return;
     case ACPI_GED_REG_RESET:
         if (data == ACPI_GED_RESET_VALUE) {
-            qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_SHUTDOWN);
+            qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
         }
         return;
     }