History | View | Annotate | Download (5.9 kB)
qtest: Include system headers before user headers
It is dangerous to include user headers before system headers since usermacros can affect system headers.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
qtest: Use -display none by default
This avoids each test needing to add it to suppress windows popping up.
[Commit 7ceeedd016facf8d58e14a0d1417fa7225d71072 ("blockdev-test: addtest case for drive_add duplicate IDs") and commit43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 ("qdev-monitor-test: add...
qtest: Add MMIO support
Introduce [qtest_]{read,write}[bwlq]() libqtest functions andcorresponding QTest protocol commands to replace local versions inlibi2c-omap.c.
Also convert m48t59-test's cmos_{read,write}_mmio() to {read,write}b().
Signed-off-by: Andreas Färber <afaerber@suse.de>...
tests: Fix {rtc, m48t59}-test build on illumos
Struct tm does not have tm_gmtoff field on illumos.Fix the build by not zero-initializing these fields on Solaris.
Cc: qemu-stable@nongnu.orgSigned-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
m48t59-test: don't touch watchdog
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qtest: add m48t59 tests for Sparc
Add simple m48t59 qtests, enable test only for Sparc32and Sparc64. On PPC, the device is behind PCI bus.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>