From 07a2265dcf190856752bf659ef7e93fd9060e8c4 Mon Sep 17 00:00:00 2001 From: Adam Litke Date: Sun, 20 Dec 2009 13:28:42 +0100 Subject: 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 --- generator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", } ####################################################################### -- cgit