Commit
fff74b2 moved the probing into virStorageFileGetMetadataFromBuf
but didn't update the format in volume definition.
https://bugzilla.redhat.com/show_bug.cgi?id=
1104908
/* Default to success below this point */
ret = 0;
+ target->format = meta->format;
+
if (*backingStore &&
*backingStoreFormat == VIR_STORAGE_FILE_AUTO &&
virStorageIsFile(*backingStore)) {
&vol->backingStore.format)))
goto cleanup;
+ vol->target.format = meta->format;
if (vol->backingStore.path &&
vol->backingStore.format < 0)
vol->backingStore.format = VIR_STORAGE_FILE_RAW;