History | View | Annotate | Download (12.4 kB)
Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging
QOM infrastructure fixes and device conversions
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>
misc: Fix case Qemu -> QEMU
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
i440fx-test: qtest_start() should be paired with qtest_end()
Similarly to commit 1d9358e6("libqtest: New qtest_end() to go with qtest_start()").
Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
i440fx-test: give each GTest case its own qtest
The current two GTest cases, /i440fx/defaults and /i440fx/pam can share aqemu process, but the next two cases will need dedicated instances. It ismessy (and order-dependent) to dynamically configure GTest cases one by...
i440fx-test: generate temporary firmware blob
The blob is 64K in size and contains 0x00..0xFF repeatedly.
The client code added to main() wouldn't make much sense in the long term.It helps with debugging and it silences gcc about create_blob_file() being...
i440fx-test: verify firmware under 4G and 1M, both -bios and -pflash
Check whether the firmware is not hidden by other memory regions.
Qemu is started in paused mode: it shouldn't try to interpret generatedgarbage.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>...
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...
i440fx-test: add test for PAM functionality
This tests PAM settings for the i440fx. This test does a lot ofbyte MMIO which is fairly slow with qtest today. But the testdoes complete in under 2 seconds.
We don't fully emulate PAM largely because of limitations with...
i440fx-test: add test to compare default register values
This test compares all of the default register values against thespec. It turns out we deviate in quite a few places. Theseplaces are really only visible to the BIOS though which is whythis hasn't created any problems....