Statistics
| Branch: | Revision:

root / hw / scsi @ 179b417e

Name Size
Makefile.objs 440 Bytes
esp-pci.c 14.7 kB
esp.c 19.5 kB
lsi53c895a.c 62 kB
megasas.c 69.3 kB
mfi.h 36.4 kB
scsi-bus.c 54.4 kB
scsi-disk.c 75.3 kB
scsi-generic.c 14.3 kB
spapr_vscsi.c 35.8 kB
srp.h 6.5 kB
vhost-scsi.c 7.9 kB
viosrp.h 6.7 kB
virtio-scsi.c 20.5 kB
vmw_pvscsi.c 33.2 kB
vmw_pvscsi.h 14.2 kB

Latest revisions

# Date Author Comment
e3c9d76a 12/09/2013 10:46 pm Paolo Bonzini

virtio-scsi: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc:
Acked-by: Andreas Faerber <>
Signed-off-by: Paolo Bonzini <>

29fdedfe 11/08/2013 05:33 am Alexey Kardashevskiy

spapr: add vio-bus devices to categories

In order to get devices appear in output of
"./qemu-system-ppc64 -device ?",
they must be assigned to one of DEVICE_CATEGORY_XXXX.

This puts VIO devices classes to corresponding categories.

Signed-off-by: Alexey Kardashevskiy <>...

02a5c4c9 11/05/2013 07:06 pm Stefan Hajnoczi

qdev: Drop misleading qdev_free() function

The qdev_free() function name is misleading since all the function does
is unlink the device from its parent. The device is not necessarily
freed.

The device will be freed when its QObject refcount reaches zero. It is...

b0eb759f 10/31/2013 05:58 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci, pc, acpi fixes, enhancements

This includes some pretty big changes:
- pci master abort support by Marcel
- pci IRQ API rework by Marcel
- acpi generation support by myself

Everything has gone through several revisions, latest versions have been on...

9e64f8a3 10/14/2013 05:11 pm Marcel Apfelbaum

hw: set interrupts using pci irq wrappers

pci_set_irq and the other pci irq wrappers use
PCI_INTERRUPT_PIN config register to compute device
INTx pin to assert/deassert.

An irq is allocated using pci_allocate_irq wrapper
only if is needed by non pci devices....

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

ceae18bd 09/16/2013 01:42 pm Hervé Poussineau

lsi: add 53C810 variant

Currently, treat it exactly as a 53C895A.
53C895A is a 53C810 with more capabilities, so this should work.

However, this lets us test different code paths on Linux, which
don't use lastest features if it detect a 810, or on some OSes...

689f5ff4 09/16/2013 01:42 pm Hervé Poussineau

lsi: remove todo

LSI emulation has been tested with Linux on PPC platform.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Paolo Bonzini <>

0903c35d 09/16/2013 01:42 pm Hervé Poussineau

lsi: ignore write accesses to CTEST0 registers

53C895A datasheet says that this register is read/write, and that the value
returned on read access is dependant of DMA FIFO state. However, nothing is
said for written value.

53C810A datasheet gives more insight about this register:...

c7ac9f40 09/16/2013 01:42 pm Hervé Poussineau

lsi: check ssid versus sdid only if ssid is valid

This prevents some (invalid) error messages on console.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom