[libvirt] [PATCHv2 16/33] storage: Switch metadata crawler to use storage driver to read headers

Eric Blake eblake at redhat.com
Wed May 28 02:18:11 UTC 2014


On 05/22/2014 07:47 AM, Peter Krempa wrote:
> Use virStorageFileReadHeader() to read headers of storage files possibly
> on remote storate to retrieve the image metadata.

s/storate/storage/

> 
> The backend information is now parsed by
> virStorageFileGetMetadataInternal which is now exported from the util
> source and virStorageFileGetMetadataFromFDInternal now doesn't need to
> be exported.
> ---
>  src/libvirt_private.syms     |  2 +-
>  src/storage/storage_driver.c | 26 +++++++-------------------
>  src/util/virstoragefile.c    |  5 ++---
>  src/util/virstoragefile.h    |  9 ++++++---
>  4 files changed, 16 insertions(+), 26 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140527/184a00a0/attachment-0001.sig>


More information about the libvir-list mailing list