]> xenbits.xensource.com Git - libvirt.git/commit
storage_source: introduce virStorageSourceChainLookupBySource
authorPavel Hrdina <phrdina@redhat.com>
Thu, 5 Jan 2023 10:46:41 +0000 (11:46 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 9 Jan 2023 12:32:49 +0000 (13:32 +0100)
commita784d4076ac68cb3f0837c6d1ff589d94eb24d3d
tree0eb3b04aaf0cd980334e402ae7d0b2a2c8f49fd6
parent90d9bc9d74a5157167548b26c00b1a016655e295
storage_source: introduce virStorageSourceChainLookupBySource

Looks up disk storage source within storage source chain using storage
source object instead of path to make it work with all disk types.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/libvirt_private.syms
src/storage_file/storage_source.c
src/storage_file/storage_source.h