All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: Process exit requests in kvm loop
@ 2010-05-04  9:28 Jan Kiszka
  2010-05-05  8:46 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2010-05-04  9:28 UTC (permalink / raw)
  To: Marcelo Tosatti, Avi Kivity; +Cc: kvm

This unbreaks the monitor quit command for qemu-kvm.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 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();


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu-kvm: Process exit requests in kvm loop
  2010-05-04  9:28 [PATCH] qemu-kvm: Process exit requests in kvm loop Jan Kiszka
@ 2010-05-05  8:46 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-05-05  8:46 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Marcelo Tosatti, kvm

On 05/04/2010 12:28 PM, Jan Kiszka wrote:
> This unbreaks the monitor quit command for qemu-kvm.
>
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-05  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-04  9:28 [PATCH] qemu-kvm: Process exit requests in kvm loop Jan Kiszka
2010-05-05  8:46 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.