]> xenbits.xensource.com Git - qemu-xen-4.5-testing.git/commit
qemu_timer_pending/qemu_get_timer: cope with NULL timers
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 5 Dec 2011 13:43:34 +0000 (13:43 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 5 Dec 2011 13:43:34 +0000 (13:43 +0000)
commit68af5b5191593223709680b89951dfc84a32bee8
treee2de2f31a12a295116e4ea0174d740b3c0f5f90c
parent65b27b1dd6f205835aa8174031eea057c75f8afb
qemu_timer_pending/qemu_get_timer: cope with NULL timers

qemu_timer_pending and qemu_get_timer: don't crash if the timer passed
as an argument is NULL.

[ Fixes regression: 13b06e700528 broke save/restore on Xen. -iwj ]

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
vl.c