]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Implement managed save operations for qemu driver
authorDaniel Veillard <veillard@redhat.com>
Thu, 1 Apr 2010 15:57:32 +0000 (17:57 +0200)
committerDaniel Veillard <veillard@redhat.com>
Sun, 4 Apr 2010 09:36:46 +0000 (11:36 +0200)
commit6e41f30efcac08e50b21d9c943d6d27e90555951
tree9a582ff7fb4b5dff2780ccd7c7fb5acafc480c2a
parent7a3da17a585b2cdea07719499f55594d19072931
Implement managed save operations for qemu driver

The images are saved in /var/lib/libvirt/qemu/save/
and named $domainname.save . The directory is created appropriately
at daemon startup. When a domain is started while a saved image is
available, libvirt will try to load this saved image, and start the
domain as usual in case of failure. In any case the saved image is
discarded once the domain is created.

* src/qemu/qemu_conf.h: adds an extra save path to the driver config
* src/qemu/qemu_driver.c: implement the 3 new operations and handling
  of the image directory
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c