[libvirt] [PATCH 03/20] Add API for opening a QEMU monitor from a socket FD

Eric Blake eblake at redhat.com
Tue Sep 11 23:48:39 UTC 2012


On 09/11/2012 08:11 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Currently qemuMonitorOpen() requires an address of the QEMU
> monitor. When doing QMP based capabilities detection it is
> easier if a pre-opened FD can be provided, since then the
> monitor can be run on the STDIO console. Add a new API
> qemuMonitorOpenFD() for such usage
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_monitor.c | 81 ++++++++++++++++++++++++++++++++++---------------
>  src/qemu/qemu_monitor.h |  5 +++
>  2 files changed, 61 insertions(+), 25 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120911/f560be9b/attachment-0001.sig>


More information about the libvir-list mailing list