[libvirt] [PATCHv2 4/7] conf: use common struct in storage volumes
Peter Krempa
pkrempa at redhat.com
Wed Apr 2 09:27:02 UTC 2014
On 04/02/14 05:05, Eric Blake wrote:
> A fairly smooth transition. And now that domain disks and
> storage volumes share a common struct, it opens the doors for
> a future patch to expose more details in the XML for both
> objects.
>
> * src/conf/storage_conf.h (_virStorageVolTarget): Delete.
> (_virStorageVolDef): Use common type.
> * src/conf/storage_conf.c (virStorageVolDefFree)
> (virStorageVolTargetDefFormat): Update clients.
> * src/storage/storage_backend.h: Likewise.
> * src/storage/storage_backend.c
> (virStorageBackendDetectBlockVolFormatFD)
> (virStorageBackendUpdateVolTargetInfo)
> (virStorageBackendUpdateVolTargetInfoFD): Likewise.
> * src/storage/storage_backend_fs.c (virStorageBackendProbeTarget):
> Likewise.
>
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
> src/conf/storage_conf.c | 20 +++-----------------
> src/conf/storage_conf.h | 22 ++--------------------
> src/storage/storage_backend.c | 6 +++---
> src/storage/storage_backend.h | 4 ++--
> src/storage/storage_backend_fs.c | 2 +-
> 5 files changed, 11 insertions(+), 43 deletions(-)
>
ACK,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140402/bf9244ec/attachment-0001.sig>
More information about the libvir-list
mailing list