On Fri, Aug 03, 2018 at 05:24:52PM +0200, Roger Pau Monné wrote:
> On Fri, Aug 03, 2018 at 03:32:09PM +0100, Anthony PERARD wrote:
> > On Thu, Aug 02, 2018 at 11:56:11AM +0200, Roger Pau Monné wrote:
> > > On Fri, Jul 27, 2018 at 03:05:56PM +0100, Anthony PERARD wrote:
> > > > +/* The -1
On Fri, Aug 03, 2018 at 03:32:09PM +0100, Anthony PERARD wrote:
> On Thu, Aug 02, 2018 at 11:56:11AM +0200, Roger Pau Monné wrote:
> > On Fri, Jul 27, 2018 at 03:05:56PM +0100, Anthony PERARD wrote:
> > > +/* The -1 is because there is always space for a NUL character */
> > > +r =
On Thu, Aug 02, 2018 at 11:56:11AM +0200, Roger Pau Monné wrote:
> On Fri, Jul 27, 2018 at 03:05:56PM +0100, Anthony PERARD wrote:
> > +/* The -1 is because there is always space for a NUL character */
> > +r = read(fd, ev->rx_buf + ev->buf_used,
> > + ev->buf_size
On Fri, Jul 27, 2018 at 03:05:56PM +0100, Anthony PERARD wrote:
> First step into taking care of the input from QEMU's QMP socket. For
> now, we read data and store them in a buffer.
>
> Parsing of the data will be done in the following patches.
>
> Signed-off-by: Anthony PERARD
> ---
>
>
First step into taking care of the input from QEMU's QMP socket. For
now, we read data and store them in a buffer.
Parsing of the data will be done in the following patches.
Signed-off-by: Anthony PERARD
---
Notes:
v4:
remove use of a linked list of receive buffer, and use realloc