Signed-off-by: Wido den Hollander <wido(a)widodh.nl>
---
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