On Wed, Jul 18, 2018 at 05:22:09PM +0200, Peter Krempa wrote:
To allow checking whether a storage source points to the same
location
add a helper which checks the relevant fields. This will allow replacing
a similar check done by formatting the command line arguments for
qemu-like syntax.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/virstoragefile.c | 43 +++++++++++++++++++++++++++++++++++++++++++
src/util/virstoragefile.h | 3 +++
3 files changed, 47 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano