summaryrefslogtreecommitdiff
path: root/libvirt-qemu-override-api.xml
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2020-04-27 09:14:58 +0200
committerPhilipp Hahn <hahn@univention.de>2020-07-27 13:24:36 +0200
commitb595e59b48d8a740b8033a4ba289d8c94be56f98 (patch)
tree6297735243e3c6477154fcc8693ba20cb329dd3d /libvirt-qemu-override-api.xml
parent932055e3cb81e113ce2e6274fb5e14deee5789de (diff)
downloadlibvirt-python-b595e59b48d8a740b8033a4ba289d8c94be56f98.tar.gz
qemu-api: Fix return type
The API XML description uses "C types": "str *" is not valid. Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirt-qemu-override-api.xml')
-rw-r--r--libvirt-qemu-override-api.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-qemu-override-api.xml b/libvirt-qemu-override-api.xml
index ca0dae9..b280a88 100644
--- a/libvirt-qemu-override-api.xml
+++ b/libvirt-qemu-override-api.xml
@@ -3,14 +3,14 @@
<symbols>
<function name='virDomainQemuMonitorCommand' file='python-qemu'>
<info>Send an arbitrary monitor command through qemu monitor of domain</info>
- <return type='str *' info='the command output or None in case of error'/>
+ <return type='char *' info='the command output or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
<arg name='cmd' type='const char *' info='the command which will be passed to QEMU monitor'/>
<arg name='flags' type='unsigned int' info='an OR&apos;ed set of virDomainQemuMonitorCommandFlags'/>
</function>
<function name='virDomainQemuAgentCommand' file='python-qemu'>
<info>Send a Guest Agent command to domain</info>
- <return type='str *' info='the command output'/>
+ <return type='char *' info='the command output'/>
<arg name='domain' type='virDomainPtr' info='pointer to the domain'/>
<arg name='cmd' type='const char *' info='guest agent command on domain'/>
<arg name='timeout' type='int' info='timeout seconds'/>