Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (14 kB)

# Date Author Comment
b7fcff01 01/22/2014 01:07 pm Kewei Yu

qtest: Fix the bug about disable vnc causes "make check" fail

When we disable vnc from "./configure", QEMU can't use the vnc option.
So qtest can't use the "vnc -none ", otherwise "make check" fails.
If QEMU uses "-display none", "-vnc none" is excrescent, So we just need to drop it....

0d1aa05e 11/07/2013 02:58 pm Stefan Hajnoczi

libqtest: rename qmp() to qmp_discard_response()

Existing qmp() callers do not expect a response object. In order to
implement real QMP test cases it will be necessary to inspect the
response object.

Rename qmp() to qmp_discard_response(). Later patches will introduce a...

d7b7e580 10/28/2013 06:34 pm Kevin Wolf

ide-test: Check what happens with bus mastering disabled

The main goal is that qemu doesn't crash.

Signed-off-by: Kevin Wolf <>

1d9358e6 07/18/2013 07:32 pm Markus Armbruster

libqtest: New qtest_end() to go with qtest_start()

Signed-off-by: Markus Armbruster <>
Reviewed-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

22bfa16e 06/14/2013 09:08 pm Michael Roth

ide-test: fix failure for test_flush

bd07684aacfb61668ae2c25b7dd00b64f3d7c7f3 added a test to ensure BSY
flag is set when a flush request is in flight. It does this by setting
a blkdebug breakpoint on flush_to_os before issuing a CMD_FLUSH_CACHE.
It then resumes CMD_FLUSH_CACHE operation and checks that BSY is unset....

bd07684a 06/06/2013 12:27 pm Kevin Wolf

ide-test: Add FLUSH CACHE test case

This checks in particular that BSY is set while the flush request is in
flight.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

c27d5656 06/06/2013 12:27 pm Kevin Wolf

ide-test: Add enum value for DEV

Get rid of the magic number.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

262f27b9 05/15/2013 06:31 pm Kevin Wolf

ide-test: Fix endianness problems

The test case passes on big endian hosts now (tested on ppc64)

Signed-off-by: Kevin Wolf <>
Message-id:
Signed-off-by: Anthony Liguori <>

acbe4801 05/08/2013 04:28 pm Kevin Wolf

qtest: Add IDE test case

This adds a simple IDE test case and starts by verifying that IDENTIFY
can be successfully used and return the correct serial number, version
and the WCE flag is set for cache=writeback.

Signed-off-by: Kevin Wolf <>

b95739dc 05/08/2013 04:28 pm Kevin Wolf

qtest/ide-test: Add simple DMA read/write test case

This tests that single sectors can be successfully written and correctly
read back.

Signed-off-by: Kevin Wolf <>

948eaed1 05/08/2013 04:28 pm Kevin Wolf

qtest/ide-test: Test short and long PRDTs

This tests the behaviour of the DMA engine when the given PRDT contains
physical region descriptors for either more or less bytes than the
IDE request is for.

Signed-off-by: Kevin Wolf <>