]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
python: Add python bindings for virDomainMemoryStats
authorAdam Litke <agl@us.ibm.com>
Sun, 20 Dec 2009 12:48:37 +0000 (13:48 +0100)
committerDaniel Veillard <veillard@redhat.com>
Sun, 20 Dec 2009 12:48:37 +0000 (13:48 +0100)
commit2c345831a3f90e22d448090b0abeb9238e51288c
treec118775fc12cb09b039f945a0da10b5a2acdd297
parentb6798b68cb9c6de18f33576841a336eee312e317
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
python/generator.py
python/libvirt-override-api.xml
python/libvirt-override.c