summary refs log tree commit diff stats
path: root/migration-unix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-03-10 11:38:41 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-17 11:14:53 -0500
commit1828be316f6637d43dd4c4f5f32925b17fb8107f (patch)
tree7f81ec21d7d79d00ac301e9a8275c172b0e5e419 /migration-unix.c
parentcd48d7e8f322cdb05692b023b168816ed6306fc4 (diff)
downloadfocaccia-qemu-1828be316f6637d43dd4c4f5f32925b17fb8107f.tar.gz
focaccia-qemu-1828be316f6637d43dd4c4f5f32925b17fb8107f.zip
more alarm timer cleanup
The timer_alarm_pending variable is related to the alarm timer but not
placed in the struct.  Also, in qemu_mod_timer the wrong flag was being
tested: the timer is rearmed in the alarm timer "bottom half", so the
right flag to test there is the "pending" flag.

Finally, I hoisted the NULL checks from alarm_has_dynticks to
host_alarm_handler.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-unix.c')
0 files changed, 0 insertions, 0 deletions