Re: [Xen-devel] [PATCH v2] libxl: add "xl qemu-monitor-command"

2016-09-06 Thread Juergen Gross
On 06/09/16 10:31, Dario Faggioli wrote: > On Mon, 2016-09-05 at 16:11 +0200, Juergen Gross wrote: >> diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c >> @@ -1103,14 +1103,48 @@ int libxl__qmp_x_blockdev_change(libxl__gc >> *gc, int domid, const char *parent, >> return qmp_run_co

Re: [Xen-devel] [PATCH v2] libxl: add "xl qemu-monitor-command"

2016-09-06 Thread Dario Faggioli
On Mon, 2016-09-05 at 16:11 +0200, Juergen Gross wrote: > diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c > @@ -1103,14 +1103,48 @@ int libxl__qmp_x_blockdev_change(libxl__gc > *gc, int domid, const char *parent, >  return qmp_run_command(gc, domid, "x-blockdev-change", args, > N

[Xen-devel] [PATCH v2] libxl: add "xl qemu-monitor-command"

2016-09-05 Thread Juergen Gross
Add a new xl command "qemu-monitor-command" to issue arbitrary commands to a domain's device model. Syntax is: xl qemu-monitor-command The command is issued via qmp human-monitor-command command. Any information returned by the command is printed to stdout. Signed-off-by: Juergen Gross --- d