Statistics
| Branch: | Revision:

root / tests @ f53ec699

Latest revisions

# Date Author Comment
461bdb34 07/29/2013 10:03 am Aurelien Jarno

Merge branch 'trivial-patches' of git://git.corpit.ru/qemu

  • 'trivial-patches' of git://git.corpit.ru/qemu:
    target-mips: Remove assignment to a variable which is never used
    misc: Use g_assert_not_reached for code which is expected to be unreachable
    qemu-options: mention C-a h in the -nographic doc...
b6a9f468 07/29/2013 08:48 am Petar Jovanovic

target-mips: fix mipsdsp_mul_q31_q31

Multiplication of two fractional word elements is not correct when sign
extension/promotion is needed. This change fixes it by adding correct
casts from unsigned to signed values.
In addition, the tests (dpaq_sa_l_w.c and dpsq_sa_l_w.c) have been extended...

d36c231f 07/29/2013 01:27 am Petar Jovanovic

target-mips: fix mipsdsp_trunc16_sat16_round

This change corrects rounding and saturation of Q31 fractional value in
mipsdsp_trunc16_sat16_round(). Overflow detection was incorrect for the
corner case for PRECRQ_RS.PH, and this test case is also part of the change....

4877866e 07/28/2013 07:26 pm Petar Jovanovic

target-mips: fix multiplication in mipsdsp_rndq15_mul_q15_q15

Multiplication of Q15 fractional halfword vectors was incorrect in the
previous implementation of mipsdsp_rndq15_mul_q15_q15. It failed to take
element signs into account. This change fixes it, and it adds a test case...

dfc6f865 07/27/2013 10:22 am Stefan Weil

misc: Use g_assert_not_reached for code which is expected to be unreachable

The macro g_assert_not_reached is a better self documenting replacement
for assert(0) or assert(false).

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

e3409362 07/26/2013 11:01 pm Ian Main

Add tests for sync modes 'TOP' and 'NONE'

This patch adds tests for sync modes top and none. Test for 'TOP'
is separated out as it requires a backing file. Also added a test
for invalid format.

Signed-off-by: Ian Main <>
Signed-off-by: Kevin Wolf <>

0f227a94 07/26/2013 11:01 pm Kevin Wolf

blockdev: Rename 'readonly' option to 'read-only'

Option name cleanup before it becomes a QMP API.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>

64aa99d3 07/26/2013 10:59 pm Kevin Wolf

qcow2: Use dashes instead of underscores in options

This is what QMP wants to use. The options haven't been enabled in any
release yet, so we're still free to change them.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>

8fefa31b 07/25/2013 04:12 pm Paolo Bonzini

qtest: add test for ISA I/O space endianness

This writes a register and reads its 1/2/4 byte parts. Masking
is done in the device model.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

d2f5ea97 07/25/2013 04:12 pm Paolo Bonzini

pc-testdev: add I/O port to test memory.c auto split/combine

The ports at 0xe8..0xeb have impl.min/max_access_size == 1, so
that memory accesses are split and combined by the memory core.

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

View revisions

Also available in: Atom