qtest/ahci: Adding simple dma read-write test
commit81705ee4850b55ef4879c941e4a7703efd3cb760
authorJohn Snow <jsnow@redhat.com>
Thu, 5 Feb 2015 17:41:30 +0000 (5 12:41 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:17 +0000 (16 15:07 +0000)
tree3eb8f0f6b475f8072241eb362b94c417697717d1
parent122482a398db9f02287efce9eec26e08dac82bcd
qtest/ahci: Adding simple dma read-write test

Adds a test case for AHCI wherein we write a 4K
block of a changing pattern to sector 0, then
read back that 4K and compare the transmit and
receive buffers.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1423158090-25580-20-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ahci-test.c