• E
    snapshot: add flag for requesting disk snapshot · e03a62b4
    Eric Blake 提交于
    Prior to this patch, <domainsnapshot>/<disks> was ignored.  This
    changes it to be an error unless an explicit disk snapshot is
    requested (a future patch may relax things if it turns out to
    be useful to have a <disks> specification alongside a system
    checkpoint).
    
    * include/libvirt/libvirt.h.in
    (VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY): New flag.
    * src/libvirt.c (virDomainSnapshotCreateXML): Document it.
    * src/esx/esx_driver.c (esxDomainSnapshotCreateXML): Disk
    snapshots not supported yet.
    * src/vbox/vbox_tmpl.c (vboxDomainSnapshotCreateXML): Likewise.
    * src/qemu/qemu_driver.c (qemuDomainSnapshotCreateXML): Likewise.
    e03a62b4
libvirt.c 460.0 KB