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

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



---
 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;
-- 
1.6.5.5


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