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

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

 



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

--
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]