[libvirt] [PATCH 1/9] Add public API for volume wiping

Daniel Veillard veillard at redhat.com
Wed Mar 17 13:10:29 UTC 2010


On Mon, Mar 15, 2010 at 10:13:23PM -0400, David Allan wrote:
> ---
>  include/libvirt/libvirt.h.in |    2 ++
>  src/libvirt_public.syms      |    5 +++++
>  2 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index 0d1b5b5..1430a95 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -1224,6 +1224,8 @@ virStorageVolPtr        virStorageVolCreateXMLFrom      (virStoragePoolPtr pool,
>                                                           unsigned int flags);
>  int                     virStorageVolDelete             (virStorageVolPtr vol,
>                                                           unsigned int flags);
> +int                     virStorageVolWipe               (virStorageVolPtr vol,
> +                                                         unsigned int flags);
>  int                     virStorageVolRef                (virStorageVolPtr vol);
>  int                     virStorageVolFree               (virStorageVolPtr vol);
> 
> diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
> index 64e7505..8c72ec6 100644
> --- a/src/libvirt_public.syms
> +++ b/src/libvirt_public.syms
> @@ -358,4 +358,9 @@ LIBVIRT_0.7.7 {
>  	virDomainAbortJob;
>  } LIBVIRT_0.7.5;
> 
> +LIBVIRT_0.7.8 {
> +    global:
> +	virStorageVolWipe;
> +} LIBVIRT_0.7.7;
> +
>  # .... define new API here using predicted next version number ....

  Fine, I'm not fond of 'wipe' but I think that reflects the intent
well, so fine,

 ACK,

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list