[libvirt] [PATCH 1/6] util: Add function to check if a virStorageSource is "empty"

Peter Krempa pkrempa at redhat.com
Tue Sep 16 11:46:56 UTC 2014


On 09/11/14 19:47, Peter Krempa wrote:
> To express empty drive we historically use storage source with empty
> path. Unfortunately NBD disks may be declared without a path.
> 
> Add a helper to wrap this logic.
> ---
>  src/libvirt_private.syms  |  1 +
>  src/util/virstoragefile.c | 20 ++++++++++++++++++++
>  src/util/virstoragefile.h |  1 +
>  3 files changed, 22 insertions(+)
> 

This patch was now pushed as a part of a different series (with a few
modifications).

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140916/3d7786a6/attachment-0001.sig>


More information about the libvir-list mailing list