]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainBackupDiskDefFormat: Format internal disk state only when valid
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Jul 2020 14:52:50 +0000 (16:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 8 Jul 2020 06:40:30 +0000 (08:40 +0200)
commit1a7ce56ae12c71f4a28fb9578240630dc9afee49
tree5649288be5676b0e4d9fe708a345f95870a00848
parent5c08a3739b7c1d45c35bf403451cbb5f35f4fa58
virDomainBackupDiskDefFormat: Format internal disk state only when valid

Format the disk state only when it isn't _NONE.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/conf/backup_conf.c