aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index e544f7cdd..b425ab57e 100644
--- a/vl.c
+++ b/vl.c
@@ -7804,6 +7804,11 @@ void qemu_system_reset_request(void)
}
if (cpu_single_env)
cpu_interrupt(cpu_single_env, CPU_INTERRUPT_EXIT);
+#ifdef USE_KVM
+ if (kvm_allowed)
+ if (!no_reboot)
+ qemu_kvm_system_reset_request();
+#endif
}
void qemu_system_shutdown_request(void)