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

[libvirt] [PATCH 2/9] Add public API for volume zeroing



---
 include/libvirt/libvirt.h.in |    2 ++
 src/libvirt_public.syms      |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 0d1b5b5..6f755c5 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                     virStorageVolZeroOut            (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..260cbc1 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -356,6 +356,7 @@ LIBVIRT_0.7.7 {
         virConnectBaselineCPU;
         virDomainGetJobInfo;
 	virDomainAbortJob;
+	virStorageVolZeroOut;
 } LIBVIRT_0.7.5;

 # .... define new API here using predicted next version number ....
-- 
1.6.5.5


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