aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-generic.c
AgeCommit message (Expand)AuthorFilesLines
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
2014-12-15scsi: Drop superfluous conditionals around g_free()Markus Armbruster1-4/+2
2014-10-31scsi: devirtualize unrealize of SCSI devicesPaolo Bonzini1-7/+0
2014-10-20hw: Convert from BlockDriverState to BlockBackend, mostlyMarkus Armbruster1-16/+19
2014-10-20block: Rename BlockDriverCompletionFunc to BlockCompletionFuncMarkus Armbruster1-1/+1
2014-10-15bootindex: move calling add_boot_device_patch to bootindex setter functionGonglei1-3/+0
2014-10-15block: remove bootindex property from qdev to qomGonglei1-1/+0
2014-09-30scsi: Introduce scsi_req_cancel_completeFam Zheng1-0/+1
2014-09-30scsi: Drop SCSIReqOps.cancel_ioFam Zheng1-13/+0
2014-09-30scsi: Unify request unref in scsi_req_cancelFam Zheng1-11/+2
2014-09-30scsi-generic: Handle canceled request in scsi_command_completeFam Zheng1-4/+6
2014-08-26scsi-generic: remove superfluous DPRINTF avoid to break compilingGonglei1-3/+0