Statistics
| Branch: | Revision:

root / hw / scsi @ f4ff3b7b

Name Size
Makefile.objs 440 Bytes
esp-pci.c 14.7 kB
esp.c 19.5 kB
lsi53c895a.c 61.3 kB
megasas.c 69.3 kB
mfi.h 36.4 kB
scsi-bus.c 53.8 kB
scsi-disk.c 75.3 kB
scsi-generic.c 14.3 kB
spapr_vscsi.c 35.7 kB
srp.h 6.5 kB
vhost-scsi.c 8 kB
viosrp.h 6.7 kB
virtio-scsi.c 20.6 kB
vmw_pvscsi.c 33.2 kB
vmw_pvscsi.h 14.2 kB

Latest revisions

# Date Author Comment
26573a0c 09/12/2013 02:15 pm Nikunj A. Dadhania

spapr-vscsi: Adding VSCSI capabilities

This implements capabilities exchange between vscsi host and client. As
at the moment no capability is supported, put zero flags everywhere and
return.

Signed-off-by: Nikunj A Dadhania <>
Signed-off-by: Paolo Bonzini <>...

f4ff3b7b 09/12/2013 02:15 pm Alexey Kardashevskiy

spapr-vscsi: Report error on unsupported MAD requests

The existing driver just dropped unsupported requests. This adds error
responses to those unhandled requests.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Paolo Bonzini <>

eb37f146 09/12/2013 09:46 am Alexey Kardashevskiy

spapr-vscsi: add task management

At the moment the guest kernel issues two types of task management
requests to the hypervisor - task about and lun reset. This adds
handling for these tasks. As spapr-vscsi starts calling scsi_req_cancel(),
free_request callback was implemented....

a27292b5 09/12/2013 09:46 am Markus Armbruster

virtio-scsi: Make type virtio-scsi-common abstract

It's the abstract base of virtio-scsi-device and vhost-scsi.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

c24e7517 09/12/2013 09:46 am Markus Armbruster

scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial

scsi_bus_legacy_add_drive() creates either a scsi-disk or a
scsi-generic device. It sets property "serial" to argument serial
unless null. Crashes with scsi-generic, because it doesn't have such...

92794105 09/12/2013 09:46 am Peter Maydell

hw/scsi/lsi53c895a: Use sextract32 for sign-extension

Use sextract32() for doing sign-extension rather than rolling
our own implementation.

Signed-off-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>

57ffcc4c 09/12/2013 09:46 am Peter Maydell

hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask

Use deposit32() rather than handcoded shifts/masks to update the
scratch registers. This is cleaner and incidentally avoids a clang
sanitizer complaint ("runtime error: left shift of 255 by 24 places...

fb17dfe0 08/30/2013 10:15 pm Andreas Färber

qdev: Pass size to qbus_create_inplace()

To be passed to object_initialize().

Since commit 39355c3826f5d9a2eb1ce3dc9b4cdd68893769d6 the argument is
void*, so drop some superfluous (BusState *) casts or direct parent
field usages.

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

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

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 <>...

View revisions

Also available in: Atom