libvirt/src/libxl
Jim Fehlig e9c2734441 libxl: rework setting the state of virDomainObj
Set the state of virDomainObj in the functions that
actually change the domain state, instead of the generic
libxlDomainCleanup function. This approach gives functions
calling libxlDomainCleanup more flexibility wrt when and
how they change virDomainObj state via virDomainObjSetState.

The prior approach of calling virDomainObjSetState in
libxlDomainCleanup resulted in the following incorrect
coding pattern in the various functions that change
domain state

 libxlDomain<DoStateTransition>
   call libxl function to do state transition
   emit lifecycle event
   libxlDomainCleanup
     virDomainObjSetState

Once simple manifestation of this bug is seeing a domain
running in virt-manager after selecting the shutdown button,
even after the domain has long shutdown.
2015-07-08 15:24:48 -06:00
..
libvirtd_libxl.aug libxl: provide integration with lock manager 2015-04-29 10:51:36 -06:00
libxl_conf.c libxl: Add timestamp to the libxl driver log. 2015-06-12 19:13:59 -06:00
libxl_conf.h libxl: change reservedVNCPorts to reservedGraphicsPorts 2015-05-28 12:40:43 -06:00
libxl_domain.c libxl: rework setting the state of virDomainObj 2015-07-08 15:24:48 -06:00
libxl_domain.h libxl: rework setting the state of virDomainObj 2015-07-08 15:24:48 -06:00
libxl_driver.c libxl: rework setting the state of virDomainObj 2015-07-08 15:24:48 -06:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00
libxl_migration.c libxl: rework setting the state of virDomainObj 2015-07-08 15:24:48 -06:00
libxl_migration.h libxl: remove domain when migration prepare fails 2014-07-08 17:14:50 -06:00
libxl.conf libxl: provide integration with lock manager 2015-04-29 10:51:36 -06:00
test_libvirtd_libxl.aug.in libxl: provide integration with lock manager 2015-04-29 10:51:36 -06:00