Message ID | 4BDFE8C7.4040802@siemens.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/qemu-kvm.c b/qemu-kvm.c index 91f0222..43d599d 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -2047,6 +2047,9 @@ int kvm_main_loop(void) vm_stop(EXCP_DEBUG); kvm_debug_cpu_requested = NULL; } + if (qemu_exit_requested()) { + exit(0); + } } pause_all_threads();