summaryrefslogtreecommitdiffstats
path: root/tests/test-string-output-visitor.c
diff options
context:
space:
mode:
authorJohn Snow2016-11-14 17:15:54 +0100
committerJohn Snow2016-11-14 17:15:54 +0100
commite7bd708ec85e40fd51569bb90c52d6613ffd8f45 (patch)
treeb180f87db70c33410fb1a89f497ff517e88da7fe /tests/test-string-output-visitor.c
parentMerge remote-tracking branch 'bonzini/tags/for-upstream' into staging (diff)
downloadqemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.tar.gz
qemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.tar.xz
qemu-e7bd708ec85e40fd51569bb90c52d6613ffd8f45.zip
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/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions