virBufferAsprintf(&buf,
"path:%s\n"
"backingStoreRaw: %s\n"
+ "backingStoreRawFormat: %s(%d)\n"
"capacity: %lld\n"
"encryption: %d\n"
"relPath:%s\n"
"hostname:%s\n\n",
strippedPath,
strippedBackingStoreRaw,
+ NULLSTR(virStorageFileFormatTypeToString(elt->backingStoreRawFormat)),
+ elt->backingStoreRawFormat,
elt->capacity,
!!elt->encryption,
strippedRelPath,
path:ABS_SRCDIR/virstoragetestdata/images/
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_BUILDDIR/virstoragedata/wrap
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_raw-raw-relative.qcow2
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_nbd-raw.qcow2
backingStoreRaw: nbd+tcp://example.org:6000/blah
+backingStoreRawFormat: raw(1)
capacity: 1024
encryption: 0
relPath:<null>
path:blah
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
backingStoreRaw: qcow2
+backingStoreRawFormat: <null>(-1)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 1024
encryption: 0
relPath:qcow2
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2
backingStoreRaw: qcow2_qcow2-auto.qcow2
+backingStoreRawFormat: qcow2(14)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
backingStoreRaw: qcow2
+backingStoreRawFormat: <null>(-1)
capacity: 1024
encryption: 0
relPath:qcow2_qcow2-auto.qcow2
path:ABS_SRCDIR/virstoragetestdata/images/qcow2
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 1024
encryption: 0
relPath:qcow2
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2
backingStoreRaw: qcow2_raw-auto.qcow2
+backingStoreRawFormat: qcow2(14)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_raw-auto.qcow2
backingStoreRaw: raw
+backingStoreRawFormat: <null>(-1)
capacity: 1024
encryption: 0
relPath:qcow2_raw-auto.qcow2
path:ABS_SRCDIR/virstoragetestdata/images/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:raw
path:ABS_BUILDDIR/virstoragedata/wrap
backingStoreRaw: ABS_BUILDDIR/virstoragedata/qcow2
+backingStoreRawFormat: qcow2(14)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_BUILDDIR/virstoragedata/qcow2
backingStoreRaw: ABS_BUILDDIR/virstoragedata/raw
+backingStoreRawFormat: raw(1)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_BUILDDIR/virstoragedata/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qcow2_raw-raw-relative.qcow2
backingStoreRaw: raw
+backingStoreRawFormat: raw(1)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:raw
path:ABS_SRCDIR/virstoragetestdata/images/sub/link2
backingStoreRaw: ../sub/link1
+backingStoreRawFormat: qcow2(14)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/sub/../sub/link1
backingStoreRaw: ../raw
+backingStoreRawFormat: raw(1)
capacity: 1024
encryption: 0
relPath:../sub/link1
path:ABS_SRCDIR/virstoragetestdata/images/sub/../sub/../raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:../raw
path:ABS_SRCDIR/virstoragetestdata/images/qed_raw-raw-relative
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/qed_raw-raw-relative
backingStoreRaw: raw
+backingStoreRawFormat: raw(1)
capacity: 1024
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:raw
path:ABS_SRCDIR/virstoragetestdata/images/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>
path:ABS_SRCDIR/virstoragetestdata/images/raw
backingStoreRaw: <null>
+backingStoreRawFormat: none(0)
capacity: 0
encryption: 0
relPath:<null>