Skip to content

Commit b595e59

Browse files
committed
qemu-api: Fix return type
The API XML description uses "C types": "str *" is not valid. Signed-off-by: Philipp Hahn <[email protected]>
1 parent 932055e commit b595e59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvirt-qemu-override-api.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<symbols>
44
<function name='virDomainQemuMonitorCommand' file='python-qemu'>
55
<info>Send an arbitrary monitor command through qemu monitor of domain</info>
6-
<return type='str *' info='the command output or None in case of error'/>
6+
<return type='char *' info='the command output or None in case of error'/>
77
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
88
<arg name='cmd' type='const char *' info='the command which will be passed to QEMU monitor'/>
99
<arg name='flags' type='unsigned int' info='an OR&apos;ed set of virDomainQemuMonitorCommandFlags'/>
1010
</function>
1111
<function name='virDomainQemuAgentCommand' file='python-qemu'>
1212
<info>Send a Guest Agent command to domain</info>
13-
<return type='str *' info='the command output'/>
13+
<return type='char *' info='the command output'/>
1414
<arg name='domain' type='virDomainPtr' info='pointer to the domain'/>
1515
<arg name='cmd' type='const char *' info='guest agent command on domain'/>
1616
<arg name='timeout' type='int' info='timeout seconds'/>

0 commit comments

Comments
 (0)