diff options
author | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:03 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:03 -0400 |
commit | 40d29928caa6db154182f5314f497020f81e640e (patch) | |
tree | 9b0b35b2776e951a23d56360defeeeb404c93a19 /tests/libqos/ahci.h | |
parent | 34475239b8f1fff0b715cb20f8b534b9d07a897e (diff) |
libqos/ahci: fix cmd_sanity for ncq
NCQ commands should not / do not update the byte count
in the command header post command, so this field is
meaningless for NCQ tests.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435016308-6150-10-git-send-email-jsnow@redhat.com
Diffstat (limited to 'tests/libqos/ahci.h')
-rw-r--r-- | tests/libqos/ahci.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libqos/ahci.h b/tests/libqos/ahci.h index 779e812400..ca8abee22c 100644 --- a/tests/libqos/ahci.h +++ b/tests/libqos/ahci.h @@ -512,8 +512,7 @@ void ahci_port_check_nonbusy(AHCIQState *ahci, uint8_t port, uint8_t slot); void ahci_port_check_d2h_sanity(AHCIQState *ahci, uint8_t port, uint8_t slot); void ahci_port_check_pio_sanity(AHCIQState *ahci, uint8_t port, uint8_t slot, size_t buffsize); -void ahci_port_check_cmd_sanity(AHCIQState *ahci, uint8_t port, - uint8_t slot, size_t buffsize); +void ahci_port_check_cmd_sanity(AHCIQState *ahci, AHCICommand *cmd); void ahci_get_command_header(AHCIQState *ahci, uint8_t port, uint8_t slot, AHCICommandHeader *cmd); void ahci_set_command_header(AHCIQState *ahci, uint8_t port, |