]> git.proxmox.com Git - mirror_qemu.git/commit
qtest/ahci: Add PIO and LBA48 tests
authorJohn Snow <jsnow@redhat.com>
Wed, 25 Feb 2015 23:06:39 +0000 (18:06 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:23 +0000 (14:02 +0100)
commitbda39dc241b1c216158aa990936d08f0a1ad26e3
tree9c8243214a65288ee50c8d25868a5bc294606620
parentd6c403edc7ce890be12915f12eb02062bf275ca8
qtest/ahci: Add PIO and LBA48 tests

In addition to DMA tests, test PIO and LBA48 command pathways in AHCI.
To accomplish this, a primitive multiplexer for gtest is added.

Though guests may prefer not to issue PIO commands directly except
for single sector cases during early boot and shutdown, these pathways
are still used for the transfer of ATAPI commands as well, and should
be behaving well.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424905602-24715-6-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