diff options
author | John Ferlan <jferlan@redhat.com> | 2018-11-20 11:09:43 -0500 |
---|---|---|
committer | John Ferlan <jferlan@redhat.com> | 2018-11-20 13:24:18 -0500 |
commit | 9bc102103cb294d091e983fd3fa056daa417aef8 (patch) | |
tree | ea0e65d5c546ff8c27cbb7f1e82681a279f3caf9 /libvirt-override-api.xml | |
parent | 2b4bd07e0a2239cd9a4da49b9bd5229ac46e7875 (diff) | |
download | libvirt-python-9bc102103cb294d091e983fd3fa056daa417aef8.tar.gz |
Implement API binding for virDomainSetIOThreadParams
Similar to libvirt_virDomainBlockCopy (and migration API's). Create
the code for the new API.
Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 4e8d6c0..7f578e0 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -292,6 +292,14 @@ <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='an OR'ed set of virDomainModificationImpact'/> </function> + <function name='virDomainSetIOThreadParams' file='python'> + <info>Dynamically allow changing the IOThread polling related parameters. This function requires privileged access to the hypervisor.</info> + <return type='int' info='0 in case of success, -1 in case of failure.'/> + <arg name='domain' type='virDomainPtr' info='pointer to domain object'/> + <arg name='iothread_val' type='unsigned int' info='iothread_id number'/> + <arg name='params' type='virTypedParameterPtr' info='pointer to IOThread polling parameter objects'/> + <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.'/> |