|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 01/15] libxl: Design of an async API to issue QMP commands to QEMU
On Wed, Oct 10, 2018 at 04:18:52PM +0100, Ian Jackson wrote:
> Anthony PERARD writes ("[PATCH v5 01/15] libxl: Design of an async API to
> issue QMP commands to QEMU"):
> > All the functions will be implemented in later patches.
>
> This patch looks good to me. Although it's a bit odd to mix some
> typedef name shuffling in the same patch, I think it's OK here given
> that the rest is API commentary.
>
> > +/*
> > + * QMP asynchronous calls
> > + *
> > + * This facility allows a command to be sent to QEMU, and the response to
> > be
> > + * handed to a callback function.
> > + *
> > + * Commands can be chained, with a same connection. (e.g. "add-fd" will
> > need to
> > + * be chained to the next command). A libxl__ev_qmp can be reused when the
> > + * callback is been called in order to use the same connection.
>
> I think the word `chained' here could do with definition. I think you
> just mean that they are on the same connection which remains
> Active/Connected throughout ?
Yes.
Maybe I could avoid the word "chained" and replace that paragraph with
something like:
"Commands can be submited one after an other with the same connection.
(e.g. the result from the "add-fd" command need to be use in a follow-up
command before disconnecting from QMP). A libxl__ev_qmp can be reused
when the callback is been called in order to use the same connection."
> Also, can you please wrap the commentary lines to 70 or 75 columns ?
> Your current 79-character lines get wrap damage when displayed in 80
> columns with the added `+' and are worse when `> ' is added.
Will do.
--
Anthony PERARD
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |