On Tue, Nov 03, 2009 at 02:50:09PM -0500, Daniel P. Berrange wrote:
Initial support for the new QEMU monitor protocol using JSON
as the data encoding format instead of plain text
* src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Hack to turn on QMP
mode
* src/qemu/qemu_monitor.c: Delegate to json monitor if enabled
* src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h: Add
impl of QMP protocol
* src/Makefile.am: Add src/qemu/qemu_monitor_json.{c,h}
---
po/POTFILES.in | 1 +
src/Makefile.am | 2 +
src/qemu/qemu_conf.c | 10 +-
src/qemu/qemu_conf.h | 3 +
src/qemu/qemu_monitor.c | 260 +++++++++++---
src/qemu/qemu_monitor_json.c | 817 ++++++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_monitor_json.h | 155 ++++++++
7 files changed, 1201 insertions(+), 47 deletions(-)
create mode 100644 src/qemu/qemu_monitor_json.c
create mode 100644 src/qemu/qemu_monitor_json.h
ACK, that was the goal of a lot of those patches !
thanks,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/