]> xenbits.xensource.com Git - libvirt.git/commit
util: storage: Store backing store format in virStorageSource
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Feb 2020 16:40:35 +0000 (17:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 Feb 2020 14:12:32 +0000 (15:12 +0100)
commit62539c5f7d6a994b9cbd677564e7206cab1c5a45
tree87d38ead1f69582ffb698a2d8b1d2bdd025bba1f
parent35d1f5bd145163edf4f05c377b488ffa50d527d6
util: storage: Store backing store format in virStorageSource

We store the backing file string in the structure so we should also
store the format so that callers can be simplified.

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