]> git.ipfire.org Git - thirdparty/qemu.git/commit
tweak qemu_notify_event
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Mar 2010 10:38:43 +0000 (11:38 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 17 Mar 2010 16:14:53 +0000 (11:14 -0500)
commit1db89e912365ff36ef436732ed81e4a1bb43056e
treebdfa501458c886f32b06120dcb1ad2fddef733f8
parent7a5e5838116a752d51c443dbb1cc61541c02b597
tweak qemu_notify_event

Instead of testing specially next_cpu in host_alarm_handler, just do
that in qemu_notify_event.  The idea is, if we are not running (or
not yet running) target CPU code, prepare things so that the execution
loop is exited asap; just make that clear.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c