]> xenbits.xensource.com Git - libvirt.git/commit
Add API for opening a QEMU monitor from a socket FD
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 6 Sep 2012 15:23:57 +0000 (16:23 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Sep 2012 16:20:57 +0000 (17:20 +0100)
commitcf5491e5ba89fb228285f5de958c98a52d8ae9d5
treed1878ae8702ef9adc4f9c245ae4a96408480c907
parent4cf4120b8204d1aeaed7392d84bdfd136cd4a6f8
Add API for opening a QEMU monitor from a socket FD

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@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h