aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-generic.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-25block: add max_hw_transfer to BlockLimitsPaolo Bonzini1-1/+1
2021-06-25scsi-generic: pass max_segments via max_iov field in BlockLimitsPaolo Bonzini1-2/+4
2021-06-15block/scsi: correctly emulate the VPD block limits pageMaxim Levitsky1-2/+7
2021-03-06scsi: move host_status handling into SCSI driversHannes Reinecke1-4/+2
2021-03-06scsi: inline sg_io_sense_from_errno() into the callers.Hannes Reinecke1-6/+16
2021-03-06scsi-generic: do not snoop the output of failed commandsPaolo Bonzini1-1/+4
2021-02-25scsi: allow user to set werror as reportZihao Chang1-1/+2
2021-02-25scsi: add tracing for SG_IO commandsHannes Reinecke1-1/+7
2021-02-25scsi: make io_timeout configurableHannes Reinecke1-6/+11
2021-01-27block: Separate blk_is_writable() and blk_supports_write_perm()Kevin Wolf1-2/+2
2020-12-18qdev: Move softmmu properties to qdev-properties-system.hEduardo Habkost1-0/+1
2020-09-30scsi-generic: Fix HM-zoned device scanDmitry Fomichev1-4/+6
2020-01-24qdev: set properties with device_class_set_props()Marc-André Lureau1-1/+1
2019-08-16Include hw/qdev-properties.h lessMarkus Armbruster1-0/+1
2019-08-16Include migration/qemu-file-types.h a lot lessMarkus Armbruster1-0/+1
2019-07-19scsi-generic: Check sense key before request snooping and patchingShin'ichiro Kawasaki1-12/+16
2019-06-12Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster1-0/+1
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster1-1/+1
2019-02-05scsi-generic: Convert from DPRINTF() macro to trace eventsLaurent Vivier1-30/+26
2019-02-05scsi-generic: avoid possible out-of-bounds access to r->bufPaolo Bonzini1-8/+10
2018-11-06scsi-generic: do not do VPD emulation for sense other than ILLEGAL_REQUESTPaolo Bonzini1-3/+5
2018-11-06scsi-generic: avoid invalid access to struct when emulating block limitsPaolo Bonzini1-10/+25
2018-11-06scsi-generic: avoid out-of-bounds access to VPD page listPaolo Bonzini1-1/+1
2018-11-06scsi-generic: keep VPD page list sortedPaolo Bonzini1-4/+15
2018-06-29hw/scsi: add VPD Block Limits emulationDaniel Henrique Barboza1-10/+122
2018-06-29hw/scsi: centralize SG_IO calls into single functionDaniel Henrique Barboza1-30/+31
2018-06-29hw/scsi: cleanups before VPD BL emulationDaniel Henrique Barboza1-33/+38
2018-06-01hw: Do not include "sysemu/blockdev.h" if it is not necessaryPhilippe Mathieu-Daudé1-1/+0
2018-04-09hw/scsi: support SCSI-2 passthrough without PIDaniel Henrique Barboza1-11/+36
2018-04-09scsi-disk: allow customizing the SCSI versionPaolo Bonzini1-0/+1
2018-03-26scsi: turn "is this a SCSI device?" into a conditional hintPaolo Bonzini1-3/+4
2018-02-05scsi-generic: Simplify error handling codeFam Zheng1-6/+3
2018-01-12scsi-generic: Add share-rw optionFam Zheng1-0/+9
2017-09-19scsi: move block/scsi.h to include/scsi/constants.hPaolo Bonzini1-1/+1
2017-09-19scsi: introduce sg_io_sense_from_errnoPaolo Bonzini1-33/+7
2017-09-19scsi: move non-emulation specific code to scsi/Paolo Bonzini1-8/+0
2017-07-21Use qemu_tolower() and qemu_toupper(), not tolower() and toupper()Peter Maydell1-1/+1
2017-03-27scsi-generic: Fill in opt_xfer_len in INQUIRY reply if it is zeroFam Zheng1-3/+2
2017-02-21block: explicitly acquire aiocontext in aio callbacks that need itPaolo Bonzini1-3/+17
2017-01-27hw/scsi: Fix debug message of cdb structure in scsi-genericEric Farman1-2/+3
2016-07-05block: Switch transfer length bounds to byte-basedEric Blake1-6/+6
2016-07-05block: Give nonzero result to blk_get_max_transfer_length()Eric Blake1-6/+6
2016-07-05scsi: Advertise limits by blocksize, not 512Eric Blake1-1/+2
2016-06-20coccinelle: Remove unnecessary variables for function return valueEduardo Habkost1-4/+1
2016-05-29scsi-generic: Merge block max xfer len in INQUIRY responseFam Zheng1-0/+12
2016-03-22include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster1-0/+1
2016-02-09scsi-generic: grab device and port SAS addresses from backendPaolo Bonzini1-0/+92
2016-01-29hw/scsi: Clean up includesPeter Maydell1-4/+1
2015-09-25scsi-generic: let guests recognize readonly=on on passthrough devicesPaolo Bonzini1-0/+14
2015-08-14scsi-generic: identify AIO callbacks more clearlyPaolo Bonzini1-25/+41