Statistics
| Branch: | Revision:

root / hw / scsi @ f6bda9cb

Name Size
Makefile.objs 440 Bytes
esp-pci.c 14.7 kB
esp.c 19.5 kB
lsi53c895a.c 61.4 kB
megasas.c 69.3 kB
mfi.h 36.4 kB
scsi-bus.c 53.7 kB
scsi-disk.c 75.3 kB
scsi-generic.c 14.3 kB
spapr_vscsi.c 31.7 kB
srp.h 6.3 kB
vhost-scsi.c 8 kB
viosrp.h 6.7 kB
virtio-scsi.c 20.5 kB
vmw_pvscsi.c 33.1 kB
vmw_pvscsi.h 14.2 kB

Latest revisions

# Date Author Comment
f6bda9cb 07/30/2013 03:56 am Peter Maydell

spapr: Rename 'dprintf' to 'DPRINTF'

'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)

Signed-off-by: Peter Maydell <>...

dbd94f8e 07/29/2013 06:37 pm Alexey Kardashevskiy

spapr-vscsi: fix SOLNT bit in SRP_RSP

The driver calculates SOLNT bit from UCSOLNT and SCSOLNT bits from
the request. The iu pointer has a type of srp_iu* which points to a union,
so cmd and rsp overlap. As the vscsi_send_rsp function calls
memset(iu, 0, sizeof(rsp)), it clears first 36 bytes of both cmd and rsp...

125ee0ed 07/29/2013 06:37 pm Marcel Apfelbaum

devices: Associate devices to their logical category

The category will be used to sort the devices displayed in
the command line help.

Signed-off-by: Marcel Apfelbaum <>
Message-id: ...

8ca8a17c 07/29/2013 06:37 pm Alexey Kardashevskiy

pseries: rework PAPR virtual SCSI

The patch reimplements handling of indirect requests in order to
simplify upcoming live migration support.
- all pointers (except SCSIRequest*) were replaces with integer
indexes and offsets;
- DMA'ed srp_direct_buf kept untouched (ie. BE format);...

1168ec7d 07/29/2013 06:37 pm David Gibson

pseries: savevm support for PAPR virtual SCSI

This patch adds the necessary support for saving the state of the PAPR VIO
virtual SCSI device. This also saves and restores active SCSI requests.

[aik: implemented vscsi_req save/restore]
Signed-off-by: Alexey Kardashevskiy <>...

b09318ca 07/23/2013 01:37 am Hu Tao

scsi/esp: Use QOM realize for scsi esp

Signed-off-by: Hu Tao <>
[AF: Drop sysbus_esp_init()]
Signed-off-by: Andreas Färber <>

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

megasas: Legacy command line handling fix

Only apply legacy command line handling when the device has not been
hot-plugged. Propagate failure of legacy command line handling.

Cc:
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 <>

a71c7ec5 07/23/2013 01:37 am Hu Tao

scsi/esp: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <>

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

scsi/esp-pci: QOM parent field cleanup

Replace direct uses of PCIESPState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <>
Signed-off-by: Andreas Färber <>

View revisions

Also available in: Atom