Re: [PATCH 2/3] docs/devel/qtest: Include protocol spec in document

2020-10-07 Thread Paolo Bonzini
On 07/10/20 13:39, Eduardo Habkost wrote: >> What version of Sphinx do you have? I need to have ".. code-block:: >> none" here, so presumably the "highlight" directive is newer than my >> version (1.7.6, pretty old I admit)? > I have 2.2.2. > > It looks like we should really add code to print a w

Re: [PATCH 2/3] docs/devel/qtest: Include protocol spec in document

2020-10-07 Thread Eduardo Habkost
On Wed, Oct 07, 2020 at 01:03:21PM +0200, Paolo Bonzini wrote: > On 05/10/20 22:52, Eduardo Habkost wrote: > > + * DOC: QTest Protocol > > + * > > + * .. highlight:: none > > * > > * Line based protocol, request/response based. Server can send async > > messages > > * so clients should alwa

Re: [PATCH 2/3] docs/devel/qtest: Include protocol spec in document

2020-10-07 Thread Paolo Bonzini
On 05/10/20 22:52, Eduardo Habkost wrote: > + * DOC: QTest Protocol > + * > + * .. highlight:: none > * > * Line based protocol, request/response based. Server can send async > messages > * so clients should always handle many async messages before the response > * comes in. > * > * V

[PATCH 2/3] docs/devel/qtest: Include protocol spec in document

2020-10-05 Thread Eduardo Habkost
Include the QTest Protocol doc string in docs/devel/qtest.rst, after converting it to use Sphinx syntax. Signed-off-by: Eduardo Habkost --- docs/devel/qtest.rst | 12 ++-- softmmu/qtest.c | 73 +++- 2 files changed, 75 insertions(+), 10 deletions(