summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorAdam Litke <agl@us.ibm.com>2009-12-20 13:28:42 +0100
committerDaniel Veillard <veillard@redhat.com>2009-12-20 13:28:42 +0100
commit07a2265dcf190856752bf659ef7e93fd9060e8c4 (patch)
treeca1e58e566c2764c6e96a1bf32e46a64ba854e70 /generator.py
parentbdbb7aa1239a35c8b9c96d2aa59251cd8be0bdc1 (diff)
downloadlibvirt-python-split-07a2265dcf190856752bf659ef7e93fd9060e8c4.tar.gz
libvirt-python-split-07a2265dcf190856752bf659ef7e93fd9060e8c4.tar.xz
libvirt-python-split-07a2265dcf190856752bf659ef7e93fd9060e8c4.zip
Add new API virDomainMemoryStats to header and drivers
Set up the types for the domainMemoryStats function and insert it into the virDriver structure definition. Because of static initializers, update every driver and set the new field to NULL. * include/libvirt/libvirt.h.in: new API * src/driver.h src/*/*_driver.c src/vbox/vbox_tmpl.c: add the new entry to the driver structure * python/generator.py: fix compiler errors, the actual python binding is implemented later
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/generator.py b/generator.py
index 3fd7f90..06f1ff4 100755
--- a/generator.py
+++ b/generator.py
@@ -160,7 +160,8 @@ def enum(type, name, value):
functions_failed = []
functions_skipped = [
- "virConnectListDomains"
+ "virConnectListDomains",
+ "virDomainMemoryStats"
]
skipped_modules = {
@@ -170,6 +171,7 @@ skipped_types = {
# 'int *': "usually a return type",
'virConnectDomainEventCallback': "No function types in python",
'virEventAddHandleFunc': "No function types in python",
+ 'virDomainMemoryStatPtr': "Not implemented yet",
}
#######################################################################