libvirt/src/libxl
Stefan Bader 0e0c1a7489 libxl: Use id from virDomainObj inside the driver
There is a domain id in the virDomain structure as well as in the
virDomainObj structure. While the former can become stale the latter
is kept up to date. So it is safer to always (virDomainObjPtr)->def->id
internally.

This will fix issues seen when managing Xen guests through libvirt from
virt-manager (not being able to get domain info after define or reboot).
This was caused both though libxlDomainGetInfo() only but there were
a lot of places that might potentially cause issues, too.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2014-04-03 17:27:46 +02:00
..
libxl_conf.c libxl: Create log directory earlier 2014-03-25 10:14:06 -06:00
libxl_conf.h libxl: move libxlDoNodeGetInfo to libxl_conf 2014-03-19 14:46:55 -06:00
libxl_domain.c Indent top-level labels by one space in src/libxl/ 2014-03-25 14:58:38 +01:00
libxl_domain.h libxl: include a pointer to the driver in libxlDomainObjPrivate 2014-03-19 14:47:11 -06:00
libxl_driver.c libxl: Use id from virDomainObj inside the driver 2014-04-03 17:27:46 +02:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00