Re: [Xen-devel] [PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU

2018-06-28 Thread Ian Jackson
Anthony PERARD writes ("Re: [PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU"): > Yes, anywhere before the last byte of the command that is going to use > the fd. QEMU is going to store any fd received until a command is using > it. Great. Can you maybe add a comment about that

Re: [Xen-devel] [PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU

2018-06-27 Thread Anthony PERARD
On Wed, Jun 27, 2018 at 03:26:51PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v3 07/31] libxl_qmp: Learned to send FD > through QMP to QEMU"): > > Adding the ability to send a file descriptor from libxl to QEMU via the > > QMP interface. This will be use with the "add-fd" QMP comma

Re: [Xen-devel] [PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU

2018-06-27 Thread Ian Jackson
Anthony PERARD writes ("[PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU"): > Adding the ability to send a file descriptor from libxl to QEMU via the > QMP interface. This will be use with the "add-fd" QMP command. Do you know which byte of the message the fd should be attached

[Xen-devel] [PATCH v3 07/31] libxl_qmp: Learned to send FD through QMP to QEMU

2018-06-01 Thread Anthony PERARD
Adding the ability to send a file descriptor from libxl to QEMU via the QMP interface. This will be use with the "add-fd" QMP command. Signed-off-by: Anthony PERARD Acked-by: Wei Liu --- tools/libxl/libxl_qmp.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --gi