diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2011-07-25 15:04:50 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-07-25 15:04:50 +0800 |
commit | 0fad55b22fe336b075ce14f42012decf9ea8df3b (patch) | |
tree | 0d2c0435d0d368c552f46604fef371a7998c2326 /libvirt-override-api.xml | |
parent | 4a5e5def1ef4b7c7d3ba3e1d8693c402aea8171f (diff) | |
download | libvirt-python-split-0fad55b22fe336b075ce14f42012decf9ea8df3b.tar.gz libvirt-python-split-0fad55b22fe336b075ce14f42012decf9ea8df3b.tar.xz libvirt-python-split-0fad55b22fe336b075ce14f42012decf9ea8df3b.zip |
python: add Python binding for virDomainGetVcpuPinInfo API
This patch adds the Python bindings for virDomainGetVcpuPinInfo API.
* python/generator.py: add it to generator skip list
* python/libvirt-override-api.xml: provide an override description
* python/libvirt-override.c: provide an override binding implementation
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 4d9f54b..a8929b1 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -182,6 +182,12 @@ <arg name='cpumap' type='unsigned char *' info='pointer to a bit map of real CPUs (in 8-bit bytes) (IN) Each bit set to 1 means that corresponding CPU is usable. Bytes are stored in little-endian order: CPU0-7, 8-15... In each byte, lowest CPU number is least significant bit.'/> <arg name='flags' type='int' info='flags to specify'/> </function> + <function name='virDomainGetVcpuPinInfo' file='python'> + <info>Query the CPU affinity setting of all virtual CPUs of domain</info> + <return type='unsigned char *' info='the array of cpumap'/> + <arg name='domain' type='virDomainPtr' info='pointer to domain object, or NULL for Domain0'/> + <arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/> + </function> <function name='virDomainSetSchedulerParameters' file='python'> <info>Change the scheduler parameters</info> <return type='int' info='-1 in case of error, 0 in case of success.'/> |