mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
scsi: introduce scsi_req_data
This abstracts calling the command_complete callback, reducing churn in the following patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
40f16dd127
commit
ab9adc88c8
5 changed files with 20 additions and 7 deletions
|
@ -207,6 +207,7 @@ disable usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature
|
|||
|
||||
# hw/scsi-bus.c
|
||||
disable scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
|
||||
disable scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
|
||||
disable scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d"
|
||||
disable scsi_req_parsed(int target, int lun, int tag, int cmd, int mode, int xfer, uint64_t lba) "target %d lun %d tag %d command %d dir %d length %d lba %"PRIu64""
|
||||
disable scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue