]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Fix handling of timeouts
authorJim Fehlig <jfehlig@suse.com>
Mon, 21 Jan 2013 16:59:28 +0000 (09:59 -0700)
committerJim Fehlig <jfehlig@suse.com>
Fri, 25 Jan 2013 18:21:01 +0000 (11:21 -0700)
commit04172610c0630201626b837a05722d40bdae2aa6
treee75908d1c0dc44a67ffe67c2eec5fc2de10b4259
parente0642059367436c27bc031df3b03ccdc1d818350
libxl: Fix handling of timeouts

xen-unstable changeset 26469 makes changes wrt modifying and deregistering
timeouts.

First, timeout modify callbacks will only be invoked with an
abs_t of {0,0}, i.e. make the timeout fire immediately.  Prior to this
commit, timeout modify callbacks were never invoked.

Second, timeout deregister hooks will no longer be called.

This patch makes changes in the libvirt libxl driver that should be
compatible before and after changeset 26469.

While at it, fix a potential overflow in the timeout register callback.
src/libxl/libxl_driver.c