Re: [PATCHv2 4/7] conf: use common struct in storage volumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]