[PATCH libvirt-java 2/2] Add flags to StoragePoolRefresh

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

 



Signed-off-by: Wido den Hollander <wido@xxxxxxxxx>
---
 src/main/java/org/libvirt/StoragePool.java |    2 +-
 src/main/java/org/libvirt/jna/Libvirt.java |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/libvirt/StoragePool.java b/src/main/java/org/libvirt/StoragePool.java
index 4c8492b..249b531 100644
--- a/src/main/java/org/libvirt/StoragePool.java
+++ b/src/main/java/org/libvirt/StoragePool.java
@@ -306,7 +306,7 @@ public class StoragePool {
      * @throws LibvirtException
      */
     public void refresh(int flags) throws LibvirtException {
-        libvirt.virStoragePoolRefresh(VSPP);
+        libvirt.virStoragePoolRefresh(VSPP, flags);
         processError();
     }
 
diff --git a/src/main/java/org/libvirt/jna/Libvirt.java b/src/main/java/org/libvirt/jna/Libvirt.java
index f53199d..597767d 100644
--- a/src/main/java/org/libvirt/jna/Libvirt.java
+++ b/src/main/java/org/libvirt/jna/Libvirt.java
@@ -290,7 +290,7 @@ public interface Libvirt extends Library {
     public StoragePoolPointer virStoragePoolLookupByUUIDString(ConnectionPointer virConnectPtr, String uuidstr);
     public StoragePoolPointer virStoragePoolLookupByVolume(StorageVolPointer storageVolPtr);
     public int virStoragePoolNumOfVolumes(StoragePoolPointer storagePoolPtr);
-    public int virStoragePoolRefresh(StoragePoolPointer storagePoolPtr);
+    public int virStoragePoolRefresh(StoragePoolPointer storagePoolPtr, int flags);
     public int virStoragePoolSetAutostart(StoragePoolPointer storagePoolPtr, int autostart);
     public int virStoragePoolUndefine(StoragePoolPointer storagePoolPtr);
 
-- 
1.7.9.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]