timer: extract timer_mod_ns_locked and timerlist_rearm
commit0f809e5fbebb36788aea3523be7f93c04f2c7f8c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Oct 2013 13:06:39 +0000 (3 15:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Oct 2013 15:30:59 +0000 (17 17:30 +0200)
treeff85e6440cd7c90e1bac50ebd1d0fee6c23b6b87
parent3c05341157f4d08dc3cc8ffa675a0aaa4818d028
timer: extract timer_mod_ns_locked and timerlist_rearm

These will be reused in timer_mod_anticipate functions.

Reviewed-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-timer.c