1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-11 12:24:25 +03:00

agent: add python module support

Add virDomainQemuAgentCommand() support function to python module.

Signed-off-by: MATSUDA Daiki <matsudadik@intellilink.co.jp>
This commit is contained in:
MATSUDA Daiki
2012-08-23 12:29:26 +09:00
committed by Daniel Veillard
parent 88555379f2
commit a97c67700d
2 changed files with 37 additions and 0 deletions

View File

@@ -8,5 +8,13 @@
<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'/>
<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'/>
<arg name='flags' type='unsigned int' info='execution flags'/>
</function>
</symbols>
</api>