[libvirt] [PATCH 3/9] Define the internal driver API for vol zeroing

[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 7b7dfea..f7b41e9 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -722,6 +722,10 @@ typedef int
                                              unsigned int flags);

 typedef int
+    (*virDrvStorageVolZeroOut)               (virStorageVolPtr vol,
+                                             unsigned int flags);
+
+typedef int
     (*virDrvStorageVolGetInfo)               (virStorageVolPtr vol,
                                               virStorageVolInfoPtr info);
 typedef char *
@@ -790,6 +794,7 @@ struct _virStorageDriver {
     virDrvStorageVolCreateXML volCreateXML;
     virDrvStorageVolCreateXMLFrom volCreateXMLFrom;
     virDrvStorageVolDelete volDelete;
+    virDrvStorageVolZeroOut volZeroOut;
     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]