]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qtest/ahci: Add DMA test variants
authorJohn Snow <jsnow@redhat.com>
Wed, 25 Feb 2015 23:06:38 +0000 (18:06 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:23 +0000 (14:02 +0100)
commitd6c403edc7ce890be12915f12eb02062bf275ca8
treef6b6ab701dc9f6b0a82e6bfa036705fd999c7272
parentf9f963e0fbba98d7ece75287c40d0c1b249dc9b4
qtest/ahci: Add DMA test variants

These test a few different pathways in the AHCI code.

short:  Test the minimum transfer size, exactly one sector.
simple: Test a transfer using a single PRD, in this case, 4K.
double: Test transferring 8K, which we will split up as two PRDs.
long:   Test transferring a lot of data using many PRDs, 256K.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424905602-24715-5-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/ahci-test.c