Statistics
| Branch: | Revision:

root / tests / i440fx-test.c @ feature-archipelago

History | View | Annotate | Download (12.4 kB)

# Date Author Comment
61e8a923 02/20/2014 03:05 pm Peter Maydell

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging

QOM infrastructure fixes and device conversions

  • QTest cleanups and test cases for PCI NICs
  • NAND fix for "info qtree"
  • Cleanup and extension of QOM machine tests...
91f32b0c 02/18/2014 12:10 am Stefan Hajnoczi

qtest: Include system headers before user headers

It is dangerous to include user headers before system headers since user
macros can affect system headers.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

a63e5e0c 02/15/2014 02:10 pm Stefan Weil

misc: Fix case Qemu -> QEMU

Signed-off-by: Stefan Weil <>
Reviewed-by: Laszlo Ersek <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Michael Tokarev <>

b817e3fb 12/23/2013 01:12 pm Laszlo Ersek

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 <>
Signed-off-by: Michael S. Tsirkin <>

c37805b6 12/23/2013 01:12 pm Laszlo Ersek

i440fx-test: give each GTest case its own qtest

The current two GTest cases, /i440fx/defaults and /i440fx/pam can share a
qemu process, but the next two cases will need dedicated instances. It is
messy (and order-dependent) to dynamically configure GTest cases one by...

27d59ccd 12/23/2013 01:12 pm Laszlo Ersek

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

3bcc77ae 12/23/2013 01:12 pm Laszlo Ersek

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

Signed-off-by: Laszlo Ersek <>...

2ad645d2 11/19/2013 11:28 am Andreas Färber

qtest: Use -display none by default

This avoids each test needing to add it to suppress windows popping up.

[Commit 7ceeedd016facf8d58e14a0d1417fa7225d71072 ("blockdev-test: add
test case for drive_add duplicate IDs") and commit
43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 ("qdev-monitor-test: add...

a875711a 04/17/2013 06:27 pm Anthony Liguori

i440fx-test: add test for PAM functionality

This tests PAM settings for the i440fx. This test does a lot of
byte MMIO which is fairly slow with qtest today. But the test
does complete in under 2 seconds.

We don't fully emulate PAM largely because of limitations with...

9bda413c 04/17/2013 06:27 pm Anthony Liguori

i440fx-test: add test to compare default register values

This test compares all of the default register values against the
spec. It turns out we deviate in quite a few places. These
places are really only visible to the BIOS though which is why
this hasn't created any problems....