summary refs log tree commit diff stats
path: root/hw/ide/atapi.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-11-20 17:53:55 -0500
committerJohn Snow <jsnow@redhat.com>2015-11-24 14:51:43 -0500
commita421f3c38509ee4ce47230ec68c5c3a184efb538 (patch)
treea7841f8b6d1e2df49dde230d996d23dc5a3726fa /hw/ide/atapi.c
parent4b6eda626fdb8bf90472c6868d502a2ac09abeeb (diff)
downloadfocaccia-qemu-a421f3c38509ee4ce47230ec68c5c3a184efb538.tar.gz
focaccia-qemu-a421f3c38509ee4ce47230ec68c5c3a184efb538.zip
ide-test: cdrom_pio_impl fixup
Final tidying: move the interrupt wait into the loop,
document that the status read clears the IRQ, and move
the final interrupt check outside of the loop.

This should be functionally equivalent to how it works
currently, but a little less ambiguous and slightly more
explicit about the state transitions.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1448060035-31973-3-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/ide/atapi.c')
0 files changed, 0 insertions, 0 deletions