libxl_qmp: Simplify run of single QMP commands.
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 8 Oct 2012 10:45:34 +0000 (11:45 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 8 Oct 2012 10:45:34 +0000 (11:45 +0100)
commit1020aaca8fe486da08b630a85a644a28f27f962d
tree75fc9f190efbb4e794b57198fce63478f85a60ec
parentbb55903ef767f00441dc7bab8984906b07312fef
libxl_qmp: Simplify run of single QMP commands.

This new function connects to QEMU, sends the command and disconnects.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_qmp.c