mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
storage: Add debug message
I found this useful while processing a volume that wouldn't end up showing up in the resulting list of block volumes. In this case, the partition type wasn't found in the disk_types table.
This commit is contained in:
parent
1bc84b0a08
commit
b3df72c4dd
@ -1444,6 +1444,10 @@ virStorageBackendDetectBlockVolFormatFD(virStorageSourcePtr target,
|
||||
}
|
||||
}
|
||||
|
||||
if (target->format == VIR_STORAGE_POOL_DISK_UNKNOWN)
|
||||
VIR_DEBUG("cannot determine the target format for '%s'",
|
||||
target->path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user