summaryrefslogtreecommitdiff
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2018-05-31 17:14:25 +0200
committerJiri Denemark <jdenemar@redhat.com>2018-06-01 08:16:48 +0200
commit0f3f82e8be5a814c42b1dcf2def1884a505e6fa8 (patch)
tree48583ec6cd03bfaceb1c647bab60821071ffd0d6 /libvirt-override-api.xml
parentbae22e3eb7c33ec65bb77e5efeeca925ee787be9 (diff)
downloadlibvirt-python-0f3f82e8be5a814c42b1dcf2def1884a505e6fa8.tar.gz
Add support for virConnectBaselineHypervisorCPU
The python bindings for this API cannot be generated because are generator is not capable of handling string arrays (char **) parameters. https://bugzilla.redhat.com/show_bug.cgi?id=1584676 Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index b63a403..36d3577 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -717,5 +717,16 @@
<arg name='flags' type='unsigned int' info='extra flags; not used yet, so callers should always pass 0'/>
<return type='int' info="dictionary of vcpu data returned by the guest agent"/>
</function>
+ <function name='virConnectBaselineHypervisorCPU' file='python'>
+ <info>Computes the most feature-rich CPU which is compatible with all given CPUs and can be provided by the specified hypervisor.</info>
+ <return type='char *' info='XML description of the computed CPU or NULL on error.'/>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='emulator' type='const char *' info='path to the emulator binary'/>
+ <arg name='arch' type='const char *' info='CPU architecture'/>
+ <arg name='machine' type='const char *' info='machine type'/>
+ <arg name='virttype' type='const char *' info='virtualization type'/>
+ <arg name='xmlCPUs' type='const char **' info='array of XML descriptions of CPUs'/>
+ <arg name='flags' type='unsigned int' info='bitwise-OR of virConnectBaselineCPUFlags'/>
+ </function>
</symbols>
</api>