Statistics
| Branch: | Revision:

root / tests @ 2f262e06

Latest revisions

# Date Author Comment
df332191 06/11/2012 08:15 pm Anthony Liguori

Merge remote-tracking branch 'afaerber-or/qom-next-1' into staging

  • afaerber-or/qom-next-1:
    target-i386: Use uint32 visitor for [x]level properties
    qdev: Remove PropertyInfo range checking
    qdev: Switch property accessors to fixed-width visitor interfaces...
c305e32f 06/09/2012 01:45 pm Max Filippov

target-xtensa: add MMU pagewalking tests

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

2d496105 06/08/2012 05:11 pm Michael Roth

qapi: Unit tests for visitor-based serialization

Currently we test our visitors individually, and seperately for input
vs. output. This is useful for validating internal representations
against the native C types and vice-versa, and other visitor-specific...

173bbb75 06/08/2012 05:11 pm Michael Roth

qapi: String visitor, use %f representation for floats

Currently string-output-visitor formats floats as %g, which is nice in
that trailing 0's are automatically truncated, but otherwise this causes
some issues:

- it uses 6 significant figures instead of 6 decimal places, which...
0d30b0a2 06/08/2012 05:11 pm Michael Roth

qapi: Add String visitor coverage to serialization unit tests

Signed-off-by: Michael Roth <>
Signed-off-by: Andreas Färber <>

4115852b 06/07/2012 08:17 am Paolo Bonzini

build: do not sprinkle around GENERATED_HEADERS dependencies

Keeping GENERATED_HEADERS dependencies up-to-date everywhere is complex.
We can simply make the Makefile depend on them, and they will be built
before all other targets.

Signed-off-by: Paolo Bonzini <>

7cd33161 05/25/2012 07:23 pm Pavel Hrdina

fdc-test: introduced qtest no_media_on_start and cmos qtest for floppy

As default a guest has always one floppy drive so 0x10 byte in CMOS
has to have 0x40 value. Higher 4 bits means that the first floppy drive
is 1.44 Mb 3"5 drive and lower 4 bits means the second drive is not present....

b84762e2 05/25/2012 07:13 pm Stefan Hajnoczi

qemu-iotests: mark 035 qcow2-only

The 035 parallel aio write test relies on knowledge of qcow2 metadata
layout to stress parallel L2 table accesses. This only works for qcow2
unless we add additional calculations for qed or other formats.

Mark this test as qcow2-only....

fba0c40b 05/21/2012 11:31 pm Stefan Weil

tests: Add rtc-test (fix test regression)

Commit 93e9eb6808c886f5f1c903b7ced1eed65de2ba39 added fdc-test,
but accidentally removed rtc-test because check-qtest-i386-y was
not enhanced but set twice.

This patch adds rtc-test again (and sorts both tests alphabetically)....

fd4567d9 05/19/2012 06:53 pm Stefan Weil

tests: Fix linker failure for fdc-test

When QEMU was built with the simple trace backend, linking failed:

LINK  tests/fdc-test
oslib-posix.o: In function `trace_qemu_memalign':
qemu/bin/debug/x86/./trace.h:31: undefined reference to `trace3'
oslib-posix.o: In function `trace_qemu_vmalloc':...

View revisions

Also available in: Atom