libxl: Fix handling of timeouts
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.

taget/libvirt,iam-TJ/libvirt,nertpinx/libvirt,trainstack/libvirt,VenkatDatta/libvirt,crobinso/libvirt,trainstack/libvirt,eskultety/libvirt,libvirt/libvirt,taget/libvirt,olafhering/libvirt,zippy2/libvirt,elmarco/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,eskultety/libvirt,shugaoye/libvirt,iam-TJ/libvirt,cbosdo/libvirt,agx/libvirt,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,jfehlig/libvirt,trainstack/libvirt,olafhering/libvirt,siboulet/libvirt-openvz,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,zippy2/libvirt,datto/libvirt,trainstack/libvirt,fabianfreyer/libvirt,agx/libvirt,cbosdo/libvirt,elmarco/libvirt,fabianfreyer/libvirt,siboulet/libvirt-openvz,jfehlig/libvirt,iam-TJ/libvirt,trainstack/libvirt,agx/libvirt,libvirt/libvirt,elmarco/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,shugaoye/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,rlaager/libvirt,datto/libvirt,datto/libvirt,libvirt/libvirt,iam-TJ/libvirt,eskultety/libvirt,zippy2/libvirt,fabianfreyer/libvirt,elmarco/libvirt,cbosdo/libvirt,olafhering/libvirt,trainstack/libvirt,taget/libvirt,crobinso/libvirt,agx/libvirt,eskultety/libvirt,agx/libvirt,siboulet/libvirt-openvz,jardasgit/libvirt,taget/libvirt,nertpinx/libvirt,datto/libvirt,crobinso/libvirt,iam-TJ/libvirt,VenkatDatta/libvirt,elmarco/libvirt,VenkatDatta/libvirt,olafhering/libvirt,jfehlig/libvirt,crobinso/libvirt,shugaoye/libvirt,nertpinx/libvirt,eskultety/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,nertpinx/libvirt,datto/libvirt,cbosdo/libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,shugaoye/libvirt,andreabolognani/libvirt,rlaager/libvirt,rlaager/libvirt,libvirt/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,siboulet/libvirt-openvz,andreabolognani/libvirt,nertpinx/libvirt,rlaager/libvirt,trainstack/libvirt,VenkatDatta/libvirt,taget/libvirt,rlaager/libvirt