diff options
author | Osier Yang <jyang@redhat.com> | 2011-09-09 19:07:56 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-09-14 14:50:44 +0800 |
commit | 04081177489c641a57a5fadbc97c9fc64d70152c (patch) | |
tree | d068d431f7f240bd227b1fc8aba92c3e1b42595b /libvirt-qemu-override-api.xml | |
parent | 3faa16ef8eadc6c9988bf113e0b22581ea21c3c9 (diff) | |
download | libvirt-python-v6-04081177489c641a57a5fadbc97c9fc64d70152c.tar.gz libvirt-python-v6-04081177489c641a57a5fadbc97c9fc64d70152c.tar.xz libvirt-python-v6-04081177489c641a57a5fadbc97c9fc64d70152c.zip |
qemu_api: Add override XML and C files for QEMU APIs
For https://bugzilla.redhat.com/show_bug.cgi?id=736040
Direct cherry-pick from 2a0d75e5ee9e3cf5704691d83fe2dda2e42c01bb
There is only one function (virDomainQemuMonitorCommand) need to
be hand-craft.
Diffstat (limited to 'libvirt-qemu-override-api.xml')
-rw-r--r-- | libvirt-qemu-override-api.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libvirt-qemu-override-api.xml b/libvirt-qemu-override-api.xml new file mode 100644 index 0000000..d69acea --- /dev/null +++ b/libvirt-qemu-override-api.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<api name='libvir-qemu-python'> + <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'/> + <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'ed set of virDomainQemuMonitorCommandFlags'/> + </function> + </symbols> +</api> |