28 May
2014
28 May
'14
11:18 a.m.
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