libqos/ahci: allow nondata commands for ahci_io variants
commitb682d3a7cf249dc472e3fb76bf49afeaa3eba525
authorJohn Snow <jsnow@redhat.com>
Mon, 11 Jan 2016 19:10:43 +0000 (11 14:10 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 11 Jan 2016 19:10:43 +0000 (11 14:10 -0500)
tree05a05424e90c1c0dda0007309278cf1eeaf5cb79
parentb1b66c3b5e89ac030e3f724791f57e9c352796ae
libqos/ahci: allow nondata commands for ahci_io variants

These variants try to set a data offset, even if you don't specify one.
In the cases where the offset is zero and it's a nondata command, just
ignore the instruction.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1452282920-21550-7-git-send-email-jsnow@redhat.com
tests/ahci-test.c
tests/libqos/ahci.c