aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/trace-events
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 /hw/scsi/trace-events
parent0bcd5a18940e1c1e3350b93cfadcdc6b58ca1c0e (diff)
downloadqemu-4eb86065603400fe27c17a346985a97b489b55d4.zip
qemu-4eb86065603400fe27c17a346985a97b489b55d4.tar.gz
qemu-4eb86065603400fe27c17a346985a97b489b55d4.tar.bz2
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 'hw/scsi/trace-events')
-rw-r--r--hw/scsi/trace-events3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/scsi/trace-events b/hw/scsi/trace-events
index 1a27e14..92d5b40 100644
--- a/hw/scsi/trace-events
+++ b/hw/scsi/trace-events
@@ -166,7 +166,8 @@ esp_dma_disable(void) "Lower enable"
esp_pdma_read(int size) "pDMA read %u bytes"
esp_pdma_write(int size) "pDMA write %u bytes"
esp_get_cmd(uint32_t dmalen, int target) "len %d target %d"
-esp_do_busid_cmd(uint8_t busid) "busid 0x%x"
+esp_do_command_phase(uint8_t busid) "busid 0x%x"
+esp_do_identify(uint8_t byte) "0x%x"
esp_handle_satn_stop(uint32_t cmdlen) "cmdlen %d"
esp_write_response(uint32_t status) "Transfer status (status=%d)"
esp_do_dma(uint32_t cmdlen, uint32_t len) "command len %d + %d"