• D
    Implement managed save operations for qemu driver · 6e41f30e
    Daniel Veillard 提交于
    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
    6e41f30e
qemu_driver.c 318.3 KB