]> git.proxmox.com Git - mirror_qemu.git/commit
libqos/ahci: fix ahci_write_fis for ncq on ppc64
authorJohn Snow <jsnow@redhat.com>
Mon, 6 Jul 2015 19:17:09 +0000 (15:17 -0400)
committerJohn Snow <jsnow@redhat.com>
Wed, 8 Jul 2015 15:46:16 +0000 (11:46 -0400)
commit9ab9993f71b7eac6788deae2fbb7ec659ceb4a1e
tree79902673448f00b65c2bf570ff2f60bbe3c5801f
parentc8232b39bb18a91cde39b8e0b60e731a4ce782b1
libqos/ahci: fix ahci_write_fis for ncq on ppc64

Don't try to correct the endianness of NCQ commands, which do not
use any fields wider than a single byte.

This corrects the /x86_64/ahci/io/ncq/simple test (and others)
for ppc64 BE hosts.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: John Snow <jsnow@redhat.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1436210229-4118-2-git-send-email-jsnow@redhat.com
tests/libqos/ahci.c
tests/libqos/ahci.h