From d8d01cc94ce4a2955ef272319429dfd5a3e9df01 Mon Sep 17 00:00:00 2001 From: Adam Litke Date: Sun, 20 Dec 2009 13:48:37 +0100 Subject: python: Add python bindings for virDomainMemoryStats Enable virDomainMemoryStats in the python API. dom.memoryStats() will return a dictionary containing the supported statistics. A dictionary is required because the meaining of each quantity cannot be inferred from its index in a list. * python/generator.py: reenable bindings for this entry point * python/libvirt-override-api.xml python/libvirt-override.c: the generator can't handle this new function, add the new binding, and the XML description --- libvirt-override-api.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libvirt-override-api.xml') diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 96958b5..6ae2742 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -105,6 +105,11 @@ + + Extracts memory statistics for a domain + + + Returns the available memory for a list of cells -- cgit