Re: [Qemu-devel] [PATCH 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-14 Thread Jason Baron
On Fri, Dec 14, 2012 at 01:07:24AM +0100, Andreas Färber wrote: > Am 13.12.2012 23:02, schrieb Jason Baron: > > diff --git a/tests/Makefile b/tests/Makefile > > index b60f0fb..30a101d 100644 > > --- a/tests/Makefile > > +++ b/tests/Makefile > > @@ -74,10 +74,10 @@ tests/test-qmp-input-strict$(EXESU

Re: [Qemu-devel] [PATCH 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-13 Thread Andreas Färber
Am 13.12.2012 23:02, schrieb Jason Baron: > diff --git a/tests/Makefile b/tests/Makefile > index b60f0fb..30a101d 100644 > --- a/tests/Makefile > +++ b/tests/Makefile > @@ -74,10 +74,10 @@ tests/test-qmp-input-strict$(EXESUF): > tests/test-qmp-input-strict.o $(test-qapi- > tests/test-qmp-commands

[Qemu-devel] [PATCH 2/3] qtest: extend qtest_qmp() to fill in the reply

2012-12-13 Thread Jason Baron
From: Jason Baron Introduce: Add void qtest_qmp_resp(QTestState *s, QString *resp, const char *fmt, ...) which allows a response string to be filled in. Signed-off-by: Jason Baron --- tests/Makefile |6 +++--- tests/libqtest.c | 17 ++--- tests/libqtest.h |4 +++- 3 f