On a Thursday in 2021, Peter Krempa wrote:
Prevent unbounded chains by limiting the recursion depth of
virStorageSourceGetMetadataRecurse to the maximum number of image layers
we limit anyways.
This removes the last use of virStorageSourceGetUniqueIdentifier which
will allow us to delete some crusty old infrastructure which isn't
really needed.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_domain.c | 4 ++-
src/security/virt-aa-helper.c | 5 +++-
src/storage_file/storage_source.c | 44 +++++++++++++------------------
src/storage_file/storage_source.h | 1 +
tests/virstoragetest.c | 3 ++-
5 files changed, 28 insertions(+), 29 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano