libvirt/src/libxl
Eric Blake 0de75e855b managedsave: prohibit use on transient domains
Transient domains reject attempts to set autostart, and using
virDomainCreate to restart a domain only works on persistent
domains.  Therefore, managed save makes no sense on transient
domains, and should be rejected up front rather than creating
an otherwise unrecoverable managed save file.

Besides, transient domains imply that a lot more management is
being done by the upper layer; this includes the assumption
that the upper layer is okay managing the saved state file
created by virDomainSave, and does not need to use managed save.

* src/libvirt.c: Document that transient domains are incompatible
with managed save.
* src/qemu/qemu_driver.c (qemuDomainManagedSave): Enforce it.
* src/libxl/libxl_driver.c (libxlDomainManagedSave): Likewise.
2011-08-10 21:50:02 -06:00
..
libxl_conf.c libxl: fix build failure due to change in virDomainGraphicsDef 2011-07-28 15:00:22 -04:00
libxl_conf.h Add domainSave/Restore to libxl driver 2011-05-30 23:29:05 -06:00
libxl_driver.c managedsave: prohibit use on transient domains 2011-08-10 21:50:02 -06:00
libxl_driver.h List authors in copyright headers 2011-03-29 20:57:02 +08:00