Statistics
| Branch: | Revision:

root / tests / libqtest.h @ 4f8a066b

History | View | Annotate | Download (13.2 kB)

# Date Author Comment
bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

1d9358e6 07/18/2013 07:32 pm Markus Armbruster

libqtest: New qtest_end() to go with qtest_start()

Signed-off-by: Markus Armbruster <>
Reviewed-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

872536bf 02/18/2013 04:39 pm Andreas Färber

qtest: Add MMIO support

Introduce [qtest_]{read,write}[bwlq]() libqtest functions and
corresponding QTest protocol commands to replace local versions in
libi2c-omap.c.

Also convert m48t59-test's cmos_{read,write}_mmio() to {read,write}b().

Signed-off-by: Andreas Färber <>...

6acf801d 02/18/2013 04:39 pm Andreas Färber

libqtest: Convert macros to functions and clean up documentation

libqtest.h provides a number of shortcut macros to avoid tests feeding
it the QTestState they operate on. Most of these can easily be turned
into static inline functions, so let's do that for clarity....

b73cf9e9 02/18/2013 04:39 pm Andreas Färber

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....

84eac317 02/11/2013 09:22 pm Andreas Färber

libqtest: Fix documentation copy&paste errors

The [qtest_]in[bwl]() functions/macros don't have a value argument.

Signed-off-by: Andreas Färber <>
Message-id:
Signed-off-by: Anthony Liguori <>

a3ca163c 05/10/2012 11:32 am Kevin Wolf

qtest: Add function to send QMP commands

Signed-off-by: Kevin Wolf <>
Reviewed-by: Paolo Bonzini <>

49ee3590 03/30/2012 04:14 pm Anthony Liguori

qtest: add C version of test infrastructure

This also includes a qtest wrapper script to make it easier to launch qtest
tests directly.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>