libqtest: Introduce qtest_qmpv() and convert remaining macro
authorAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 21:44:02 +0000 (22:44 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Feb 2013 14:39:09 +0000 (08:39 -0600)
commitb73cf9e93f1c7fd6e949f71172c49848b4d70aa9
tree388aade6f78e3cefa2d88088779cd86873cdfcfd
parent6acf801de5a6e299c02ab3efe3e0dcd75ae678e0
libqtest: Introduce qtest_qmpv() and convert remaining macro

In order to convert qmp() macro to an inline function, expose a
qtest_qmpv() function, reused by qtest_qmp().

We can't apply GCC_FMT_ATTR() since fdc-test is using zero-length format
strings, which would result in warnings treated as errors.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1361051043-27944-3-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tests/libqtest.c
tests/libqtest.h