]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: rename an enum
authorEric Blake <eblake@redhat.com>
Mon, 13 Aug 2012 22:59:57 +0000 (16:59 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Aug 2012 15:51:08 +0000 (09:51 -0600)
commit1385c9cd74a444f88eb1fffdeeae23ea1e1c3634
tree50623fd4eda2f483e789e732bcedf7ca2caad057
parent6478ec1673a2b405353df898db70181e122f721e
snapshot: rename an enum

The name 'virDomainDiskSnapshot' didn't fit in with our normal
conventions of using a prefix hinting that it is related to a
virDomainSnapshotPtr.  Also, a future patch will reuse the
enum for declaring where the VM memory is stored.

* src/conf/snapshot_conf.h (virDomainDiskSnapshot): Rename...
(virDomainSnapshotLocation): ...to this.
(_virDomainSnapshotDiskDef): Update clients.
* src/conf/domain_conf.h (_virDomainDiskDef): Likewise.
* src/libvirt_private.syms (domain_conf.h): Likewise.
* src/conf/domain_conf.c (virDomainDiskDefParseXML)
(virDomainDiskDefFormat): Likewise.
* src/conf/snapshot_conf.c: (virDomainSnapshotDiskDefParseXML)
(virDomainSnapshotAlignDisks, virDomainSnapshotDefFormat):
Likewise.
* src/qemu/qemu_driver.c (qemuDomainSnapshotDiskPrepare)
(qemuDomainSnapshotCreateSingleDiskActive)
(qemuDomainSnapshotCreateDiskActive, qemuDomainSnapshotCreateXML):
Likewise.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/snapshot_conf.c
src/conf/snapshot_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c