]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainSnapshotAlignDisks: Add 'domdef' local variable
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Sep 2020 16:27:37 +0000 (18:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Sep 2020 20:38:49 +0000 (22:38 +0200)
commite2f1919907b31c8fc5570fefe48a41168e5a4551
tree088ab87b1b032fd7bf7ae4371ac54bf50394961c
parentec725d31bd2b719d950ee33ba10c3318adf0e25d
virDomainSnapshotAlignDisks: Add 'domdef' local variable

There are multiple places accessing the domain definition. Extract it to
a local variable so that it's more clear what's happening.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/snapshot_conf.c