--- src/storage/storage_backend_fs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c index d305b06..c6c019d 100644 --- a/src/storage/storage_backend_fs.c +++ b/src/storage/storage_backend_fs.c @@ -94,7 +94,9 @@ virStorageBackendProbeTarget(virStorageVolTargetPtr target, if (!(meta = virStorageFileGetMetadataFromFD(target->path, fd, target->format))) { - ret = -1; + /* list volume even if its diskchain is broken */ + virResetLastError(); + ret = -3; goto error; } -- 1.8.3.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list