]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: remove list of timer registrations from libxlDomainObjPrivate
authorJim Fehlig <jfehlig@suse.com>
Sat, 1 Feb 2014 01:09:53 +0000 (18:09 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 6 Feb 2014 17:08:11 +0000 (10:08 -0700)
commiteaa8d9b2c7ddfc0da5bbd28ca782f62447deaab5
treebbb98c700ee488fd069507d23aee2fdcf74c49b2
parentcda52dbfe51fa5307b8b1fc419e1dd2fac1596a1
libxl: remove list of timer registrations from libxlDomainObjPrivate

Due to some misunderstanding of requirements libxl places on timer
handling, I introduced the half-brained idea of maintaining a list
of timeouts that the driver could force to expire before freeing a
libxlDomainObjPrivate (and hence libxl_ctx).  But testing all
the latest versions of Xen supported by the libxl driver (4.2.3,
4.3.1, 4.4.0 RC3), I see that libxl will handle this just fine and
there is no need to force expiration behind libxl's back.  Indeed it
may be harmful to do so.

This patch removes the timer list, allowing libxl to handle cleanup
of its timer registrations.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_conf.h
src/libxl/libxl_domain.c
src/libxl/libxl_domain.h
src/libxl/libxl_driver.c