aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-generic.c
AgeCommit message (Expand)Author
2023-05-18scsi-generic: fix buffer overflow on block limits inquiryPaolo Bonzini
2023-02-23scsi: protect req->aiocb with AioContext lockStefan Hajnoczi
2022-09-01scsi: Add buf_len parameter to scsi_req_new()John Millikin
2022-08-23scsi-generic: Fix emulated block limits VPD pageKevin Wolf
2022-06-24block: get rid of blk->guest_block_sizeStefan Hajnoczi
2022-04-06Replace qemu_real_host_page variables with inlined functionsMarc-André Lureau
2021-10-06block: introduce max_hw_iov for use in scsi-genericPaolo Bonzini
2021-06-25block: add max_hw_transfer to BlockLimitsPaolo Bonzini
2021-06-25scsi-generic: pass max_segments via max_iov field in BlockLimitsPaolo Bonzini
2021-06-15block/scsi: correctly emulate the VPD block limits pageMaxim Levitsky
2021-03-06scsi: move host_status handling into SCSI driversHannes Reinecke
2021-03-06scsi: inline sg_io_sense_from_errno() into the callers.Hannes Reinecke
2021-03-06scsi-generic: do not snoop the output of failed commandsPaolo Bonzini
2021-02-25scsi: allow user to set werror as reportZihao Chang
2021-02-25scsi: add tracing for SG_IO commandsHannes Reinecke
2021-02-25scsi: make io_timeout configurableHannes Reinecke
2021-01-27block: Separate blk_is_writable() and blk_supports_write_perm()Kevin Wolf
2020-12-18qdev: Move softmmu properties to qdev-properties-system.hEduardo Habkost
2020-09-30scsi-generic: Fix HM-zoned device scanDmitry Fomichev
2020-01-24qdev: set properties with device_class_set_props()Marc-André Lureau
2019-08-16Include hw/qdev-properties.h lessMarkus Armbruster
2019-08-16Include migration/qemu-file-types.h a lot lessMarkus Armbruster
2019-07-19scsi-generic: Check sense key before request snooping and patchingShin'ichiro Kawasaki
2019-06-12Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster
2019-02-05scsi-generic: Convert from DPRINTF() macro to trace eventsLaurent Vivier
2019-02-05scsi-generic: avoid possible out-of-bounds access to r->bufPaolo Bonzini
2018-11-06scsi-generic: do not do VPD emulation for sense other than ILLEGAL_REQUESTPaolo Bonzini
2018-11-06scsi-generic: avoid invalid access to struct when emulating block limitsPaolo Bonzini
2018-11-06scsi-generic: avoid out-of-bounds access to VPD page listPaolo Bonzini
2018-11-06scsi-generic: keep VPD page list sortedPaolo Bonzini
2018-06-29hw/scsi: add VPD Block Limits emulationDaniel Henrique Barboza
2018-06-29hw/scsi: centralize SG_IO calls into single functionDaniel Henrique Barboza
2018-06-29hw/scsi: cleanups before VPD BL emulationDaniel Henrique Barboza
2018-06-01hw: Do not include "sysemu/blockdev.h" if it is not necessaryPhilippe Mathieu-Daudé
2018-04-09hw/scsi: support SCSI-2 passthrough without PIDaniel Henrique Barboza
2018-04-09scsi-disk: allow customizing the SCSI versionPaolo Bonzini
2018-03-26scsi: turn "is this a SCSI device?" into a conditional hintPaolo Bonzini
2018-02-05scsi-generic: Simplify error handling codeFam Zheng
2018-01-12scsi-generic: Add share-rw optionFam Zheng
2017-09-19scsi: move block/scsi.h to include/scsi/constants.hPaolo Bonzini
2017-09-19scsi: introduce sg_io_sense_from_errnoPaolo Bonzini
2017-09-19scsi: move non-emulation specific code to scsi/Paolo Bonzini
2017-07-21Use qemu_tolower() and qemu_toupper(), not tolower() and toupper()Peter Maydell
2017-03-27scsi-generic: Fill in opt_xfer_len in INQUIRY reply if it is zeroFam Zheng
2017-02-21block: explicitly acquire aiocontext in aio callbacks that need itPaolo Bonzini
2017-01-27hw/scsi: Fix debug message of cdb structure in scsi-genericEric Farman
2016-07-05block: Switch transfer length bounds to byte-basedEric Blake
2016-07-05block: Give nonzero result to blk_get_max_transfer_length()Eric Blake
2016-07-05scsi: Advertise limits by blocksize, not 512Eric Blake