aboutsummaryrefslogtreecommitdiff
path: root/target/alpha/sys_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/alpha/sys_helper.c')
-rw-r--r--target/alpha/sys_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/alpha/sys_helper.c b/target/alpha/sys_helper.c
index 652195de6f..ac22323191 100644
--- a/target/alpha/sys_helper.c
+++ b/target/alpha/sys_helper.c
@@ -60,9 +60,9 @@ void helper_tb_flush(CPUAlphaState *env)
void helper_halt(uint64_t restart)
{
if (restart) {
- qemu_system_reset_request();
+ qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
} else {
- qemu_system_shutdown_request();
+ qemu_system_shutdown_request(SHUTDOWN_CAUSE_GUEST_SHUTDOWN);
}
}