History | View | Annotate | Download (12.9 kB)
ide-test: fix failure for test_flush
bd07684aacfb61668ae2c25b7dd00b64f3d7c7f3 added a test to ensure BSYflag is set when a flush request is in flight. It does this by settinga 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....
ide-test: Add FLUSH CACHE test case
This checks in particular that BSY is set while the flush request is inflight.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
ide-test: Add enum value for DEV
Get rid of the magic number.
ide-test: Fix endianness problems
The test case passes on big endian hosts now (tested on ppc64)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Message-id: 1368622839-7084-1-git-send-email-kwolf@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
qtest: Add IDE test case
This adds a simple IDE test case and starts by verifying that IDENTIFYcan be successfully used and return the correct serial number, versionand the WCE flag is set for cache=writeback.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qtest/ide-test: Add simple DMA read/write test case
This tests that single sectors can be successfully written and correctlyread back.
qtest/ide-test: Test short and long PRDTs
This tests the behaviour of the DMA engine when the given PRDT containsphysical region descriptors for either more or less bytes than theIDE request is for.