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

Re: [libvirt] [PATCH 2/9] Define the internal driver API for vol wiping



On Mon, Mar 15, 2010 at 10:13:24PM -0400, David Allan wrote:
> ---
>  src/driver.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/src/driver.h b/src/driver.h
> index a64bba0..1a511eb 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -723,6 +723,10 @@ typedef int
>                                               unsigned int flags);
> 
>  typedef int
> +    (*virDrvStorageVolWipe)                  (virStorageVolPtr vol,
> +                                              unsigned int flags);
> +
> +typedef int
>      (*virDrvStorageVolGetInfo)               (virStorageVolPtr vol,
>                                                virStorageVolInfoPtr info);
>  typedef char *
> @@ -791,6 +795,7 @@ struct _virStorageDriver {
>      virDrvStorageVolCreateXML volCreateXML;
>      virDrvStorageVolCreateXMLFrom volCreateXMLFrom;
>      virDrvStorageVolDelete volDelete;
> +    virDrvStorageVolWipe volWipe;
>      virDrvStorageVolGetInfo volGetInfo;
>      virDrvStorageVolGetXMLDesc volGetXMLDesc;
>      virDrvStorageVolGetPath volGetPath;

  logical considered 1/9,

ACK,

Daniel

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


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