Re: [Xen-devel] [PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data

2018-06-28 Thread Ian Jackson
Anthony PERARD writes ("Re: [PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data"): > On Wed, Jun 27, 2018 at 04:10:18PM +0100, Ian Jackson wrote: > > How big is this data ? Is all this business with a linked list of > > buffers really necessary ? > > The alternative is realloc. I

Re: [Xen-devel] [PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data

2018-06-28 Thread Anthony PERARD
On Wed, Jun 27, 2018 at 04:10:18PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v3 15/31] libxl_qmp_ev: Implement fd callback > and read data"): > > First step into taking care of the input from QEMU's QMP socket. For > > now, we read data and store them in buffers. > > How big is

Re: [Xen-devel] [PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data

2018-06-27 Thread Ian Jackson
Anthony PERARD writes ("[PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data"): > First step into taking care of the input from QEMU's QMP socket. For > now, we read data and store them in buffers. How big is this data ? Is all this business with a linked list of buffers really

[Xen-devel] [PATCH v3 15/31] libxl_qmp_ev: Implement fd callback and read data

2018-06-01 Thread Anthony PERARD
First step into taking care of the input from QEMU's QMP socket. For now, we read data and store them in buffers. Parsing of the data will be done in the following patches. Signed-off-by: Anthony PERARD --- tools/libxl/libxl_qmp.c | 113 1 file changed,