summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-11 13:38:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-15 17:17:09 +0200
commit4eb86065603400fe27c17a346985a97b489b55d4 (patch)
tree3d2a8bdc2fa00e5ea5e4159346373f24e26d9bf9 /util/oslib-posix.c
parent0bcd5a18940e1c1e3350b93cfadcdc6b58ca1c0e (diff)
downloadfocaccia-qemu-4eb86065603400fe27c17a346985a97b489b55d4.tar.gz
focaccia-qemu-4eb86065603400fe27c17a346985a97b489b55d4.zip
esp: store lun coming from the MESSAGE OUT phase
The LUN is selected with an IDENTIFY message, and persists
until the next message out phase.  Instead of passing it to
do_busid_cmd, store it in ESPState.  Because do_cmd can simply
skip the message out phase if cmdfifo_cdb_offset is zero, it
can now be used for the S without ATN cases as well.

Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions