]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Add storage file API to read file headers
authorPeter Krempa <pkrempa@redhat.com>
Fri, 7 Mar 2014 10:53:18 +0000 (11:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 23 May 2014 08:57:33 +0000 (10:57 +0200)
commit81271a9261b634a7ea5e7a17ef6892c123ac407b
treec0324e24b6e9947364e11a9b67cb19ec4f8b35cd
parentae26731e1fcd4591b1be6b165ec8cc76bd0e1877
storage: Add storage file API to read file headers

Add storage driver based functions to access headers of storage files
for metadata extraction. Along with this patch a local filesystem and
gluster via libgfapi implementation is provided. The gluster
implementation is based on code of the saferead_lim function.
src/storage/storage_backend.h
src/storage/storage_backend_fs.c
src/storage/storage_backend_gluster.c
src/storage/storage_driver.c
src/storage/storage_driver.h