qemu-kvm: Process exit requests in kvm loop
PATCH 1/1 qemu-kvm: Process exit requests in kvm loop
This unbreaks the monitor quit command for qemu-kvm.
Signed-off-by Jan Kiszka <[email protected]>
--- qemu-kvm.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
qemu-kvm.c +3 -0
@@ -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 ();
Avi Kivity
AppliedQuoted 3 lines · Jan Kiszka
This unbreaks the monitor quit command for qemu-kvm.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function