diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-03-10 11:38:41 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-17 11:14:53 -0500 |
commit | 1828be316f6637d43dd4c4f5f32925b17fb8107f (patch) | |
tree | 7f81ec21d7d79d00ac301e9a8275c172b0e5e419 /usb-stub.c | |
parent | cd48d7e8f322cdb05692b023b168816ed6306fc4 (diff) | |
download | qemu-1828be316f6637d43dd4c4f5f32925b17fb8107f.zip qemu-1828be316f6637d43dd4c4f5f32925b17fb8107f.tar.gz qemu-1828be316f6637d43dd4c4f5f32925b17fb8107f.tar.bz2 |
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 'usb-stub.c')
0 files changed, 0 insertions, 0 deletions