summaryrefslogtreecommitdiff
path: root/generator.py
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2012-01-27 07:29:56 +0200
committerEric Blake <eblake@redhat.com>2012-01-27 19:56:18 -0700
commitc5a79519d11c2e4388a1791bac114fc16131bd13 (patch)
treef5c3917b4305dfde68a26a20f9dabf88a9ee48a3 /generator.py
parentc8d44e634c381572975f670cd91af6fae01d99c6 (diff)
downloadlibvirt-python-c5a79519d11c2e4388a1791bac114fc16131bd13.tar.gz
resize: add virStorageVolResize() API
Add a new function to allow changing of capacity of storage volumes. Plan out several flags, even if not all of them will be implemented up front. Expose the new command via 'virsh vol-resize'. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index de635dc..791b267 100755
--- a/generator.py
+++ b/generator.py
@@ -259,6 +259,7 @@ py_types = {
'double': ('d', None, "double", "double"),
'unsigned int': ('i', None, "int", "int"),
'unsigned long': ('l', None, "long", "long"),
+ 'long long': ('l', None, "longlong", "long long"),
'unsigned long long': ('l', None, "longlong", "long long"),
'unsigned char *': ('z', None, "charPtr", "char *"),
'char *': ('z', None, "charPtr", "char *"),