]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: export virStoragePoolLookupByTargetPath as a public API
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 25 Jan 2018 09:35:52 +0000 (09:35 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Feb 2018 11:05:10 +0000 (11:05 +0000)
commit7aa0e8c0cb8a6293d0c6f7e3d29c13b96dec2129
treec2d38f31f2d4e7777c804093e501d9c21461c082
parentfee840cc96d5da3869522c2f00fbd26209b8a744
storage: export virStoragePoolLookupByTargetPath as a public API

The storagePoolLookupByTargetPath() method in the storage driver is used
by the QEMU driver during block migration. If there's a valid use case
for this in the QEMU driver, then external apps likely have similar
needs. Exposing it in the public API removes the direct dependancy from
the QEMU driver to the storage driver.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
include/libvirt/libvirt-storage.h
src/driver-storage.h
src/libvirt-storage.c
src/libvirt_public.syms
src/qemu/qemu_migration.c
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs
src/storage/storage_driver.c