scsi: export scsi_generic_reqops
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
adcf2754b9
commit
765d1525a6
@ -420,7 +420,7 @@ static int scsi_generic_initfn(SCSIDevice *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const SCSIReqOps scsi_generic_req_ops = {
|
||||
const SCSIReqOps scsi_generic_req_ops = {
|
||||
.size = sizeof(SCSIGenericReq),
|
||||
.free_req = scsi_free_request,
|
||||
.send_command = scsi_send_command,
|
||||
|
@ -197,4 +197,7 @@ void scsi_device_purge_requests(SCSIDevice *sdev, SCSISense sense);
|
||||
int scsi_device_get_sense(SCSIDevice *dev, uint8_t *buf, int len, bool fixed);
|
||||
SCSIDevice *scsi_device_find(SCSIBus *bus, int channel, int target, int lun);
|
||||
|
||||
/* scsi-generic.c. */
|
||||
extern const SCSIReqOps scsi_generic_req_ops;
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user