]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: Refactor virDomainSnapshotDefFormat
authorEric Blake <eblake@redhat.com>
Sun, 17 Feb 2019 01:58:58 +0000 (19:58 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 7 Mar 2019 23:31:40 +0000 (17:31 -0600)
commitcae6619ad57ed54ef3e6e142fa0080851f3c9216
treea6d0c31c73a8d425d8ebfe1c95920911c202b1e5
parentc50295590946a32efaf60bd4c6d16f5c2d8a430a
snapshot: Refactor virDomainSnapshotDefFormat

Split out an internal helper that produces format into a
virBuffer, similar to what domain_conf.c does, and making
the next patch easier to write.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/snapshot_conf.c