mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
scsi: introduce scsi_req_get_buf
... and remove some SCSIDevice variables or fields that now become unused. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
ad3376cc55
commit
0c34459b6a
6 changed files with 11 additions and 9 deletions
|
@ -151,6 +151,11 @@ SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag, uint32_t lun)
|
|||
return d->info->alloc_req(d, tag, lun);
|
||||
}
|
||||
|
||||
uint8_t *scsi_req_get_buf(SCSIRequest *req)
|
||||
{
|
||||
return req->dev->info->get_buf(req);
|
||||
}
|
||||
|
||||
int32_t scsi_req_enqueue(SCSIRequest *req, uint8_t *buf)
|
||||
{
|
||||
int32_t rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue