aboutsummaryrefslogtreecommitdiff
path: root/tests/ahci-test.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2016-11-14 11:15:54 -0500
committerJohn Snow <jsnow@redhat.com>2016-11-14 11:15:54 -0500
commite7bd708ec85e40fd51569bb90c52d6613ffd8f45 (patch)
treeb180f87db70c33410fb1a89f497ff517e88da7fe /tests/ahci-test.c
parent83c83f9a5266ff113060f887f106a47920fa6974 (diff)
downloadqemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.zip
qemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.tar.gz
qemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.tar.bz2
atapi: classify read_cd as conditionally returning data
For the purposes of byte_count_limit verification, add a new flag that identifies read_cd as sometimes returning data, then check the BCL in its command handler after we know that it will indeed return data. Reported-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 1477970211-25754-2-git-send-email-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/ahci-test.c')
0 files changed, 0 insertions, 0 deletions