This unbreaks the monitor quit command for qemu-kvm. Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> --- qemu-kvm.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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(); -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html