]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: Switch metadata crawler to use storage driver to read headers
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Apr 2014 19:38:40 +0000 (21:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jun 2014 07:27:23 +0000 (09:27 +0200)
commit2bdb8b965b7ffe273e33d3c7d9955175eb3fa0cb
treed29df5c25ffe59ee6c03d07c78831b3c4fc476c4
parent395171f87f01cbb8271bfdedc836c358a5f79003
storage: Switch metadata crawler to use storage driver to read headers

Use virStorageFileReadHeader() to read headers of storage files possibly
on remote storage to retrieve the image metadata.

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
src/storage/storage_driver.c
src/util/virstoragefile.c
src/util/virstoragefile.h