[PATCH libvirt-java 9/9] Add resize flags to StorageVol

[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/StorageVol.java |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main/java/org/libvirt/StorageVol.java b/src/main/java/org/libvirt/StorageVol.java
index 66e647f..9ea23c7 100644
--- a/src/main/java/org/libvirt/StorageVol.java
+++ b/src/main/java/org/libvirt/StorageVol.java
@@ -23,6 +23,13 @@ public class StorageVol {
         static final int VIR_STORAGE_POOL_DELETE_ZEROED = 1;
     }
 
+    static final class ResizeFlags {
+        /**
+         * Size is in bytes instead of KiB
+         */
+        static final int VIR_DOMAIN_BLOCK_RESIZE_BYTES = (1 << 0);
+    }
+
     public static enum Type {
         /**
          * Regular file based volumes
-- 
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]