]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: split snapshot conf code into own file
authorEric Blake <eblake@redhat.com>
Tue, 14 Aug 2012 00:09:12 +0000 (18:09 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Aug 2012 15:51:08 +0000 (09:51 -0600)
commit6478ec1673a2b405353df898db70181e122f721e
tree610a9dc35cb8c0a828f86ff6cbcd093b97b48bff
parent3211deba3ecd02a25fb90357275f3696ce325219
snapshot: split snapshot conf code into own file

This has several benefits:
1. Future snapshot-related code has a definite place to go (and I
_will_ be adding some)
2. Snapshot errors now use the VIR_FROM_DOMAIN_SNAPSHOT error
classification, which has been underutilized (previously only in
libvirt.c)

* src/conf/domain_conf.h, domain_conf.c: Split...
* src/conf/snapshot_conf.h, snapshot_conf.c: ...into new files.
* src/Makefile.am (DOMAIN_CONF_SOURCES): Build new files.
* po/POTFILES.in: Mark new file for translation.
* src/vbox/vbox_tmpl.c: Update caller.
* src/esx/esx_driver.c: Likewise.
* src/qemu/qemu_command.c: Likewise.
* src/qemu/qemu_domain.h: Likewise.
po/POTFILES.in
src/Makefile.am
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/snapshot_conf.c [new file with mode: 0644]
src/conf/snapshot_conf.h [new file with mode: 0644]
src/esx/esx_driver.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.h
src/vbox/vbox_tmpl.c