Statistics
| Branch: | Revision:

root / include / hw / scsi @ d91a68a7

Name Size
esp.h 3.1 kB
scsi.h 9.3 kB

Latest revisions

# Date Author Comment
9ec557bd 11/26/2013 10:21 am Hans de Goede

scsi: Add 2 new sense codes needed by uas

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

84642435 10/09/2013 06:24 pm Asias He

scsi: Allocate SCSITargetReq r->buf dynamically [CVE-2013-4344]

r->buf is hardcoded to 2056 which is (256 + 1) * 8, allowing 256 luns at
most. If more than 256 luns are specified by user, we have buffer
overflow in scsi_target_emulate_report_luns.

To fix, we allocate the buffer dynamically....

b1187b51 08/30/2013 09:14 pm Andreas Färber

scsi: Pass size to scsi_bus_new()

To be passed to qbus_create_inplace().

Use DEVICE casts instead of direct parent field access.

Reviewed-by: Wenchao Xia <>
Acked-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

caad4eb3 07/23/2013 01:37 am Andreas Färber

scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline()

Let scsi_bus_legacy_add_drive() and scsi_bus_legacy_handle_cmdline()
return an Error**. Prepare qdev initfns for QOM realize error model.

Signed-off-by: Andreas Färber <>

11fc853c 05/03/2013 08:05 pm KONRAD Frederic

scsi: add bus_name parameter to scsi_bus_new.

This adds the possibility to create a scsi-bus with a specified name.

Signed-off-by: KONRAD Frederic <>
Acked-by: Paolo Bonzini <>
Tested-by: Cornelia Huck <>...

0d09e41a 04/08/2013 07:13 pm Paolo Bonzini

hw: move headers to include/

Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches....

View revisions

Also available in: Atom