summaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-generic.c
AgeCommit message (Expand)AuthorFilesLines
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
2014-08-26scsi-bus: Convert DeviceClass init to realizeFam Zheng1-19/+18
2014-07-29scsi-block, scsi-generic: implement parse_cdbPaolo Bonzini1-0/+7
2014-04-28scsi: Improve error messages morePaolo Bonzini1-2/+6
2014-02-22scsi: Change scsi sense buf size to 252Fam Zheng1-2/+0
2014-01-24block: rename buffer_alignment to guest_block_sizePaolo Bonzini1-1/+1
2013-06-18scsi-generic: check the return value of bdrv_aio_ioctl in execute_commandPavel Hrdina1-0/+3
2013-06-18scsi-generic: fix sign extension of READ CAPACITY(10) dataPaolo Bonzini1-2/+3