qemu-e2k/include/hw
Paolo Bonzini e351b82611 hw: Add support for LSI SAS1068 (mptsas) device
This adds the SAS1068 device, a SAS disk controller used in VMware that
is oldish but widely supported and has decent performance.  Unlike
megasas, it presents itself as a SAS controller and not as a RAID
controller.  The device corresponds to the mptsas kernel driver in
Linux.

A few small things in the device setup are based on Don Slutz's old
patch, but the device emulation was written from scratch based on Don's
SeaBIOS patch and on the FreeBSD and Linux drivers.  It is 2400 lines
shorter than Don's patch (and roughly the same size as MegaSAS---also
because it doesn't support the similar SPI controller), implements SCSI
task management functions (with asynchronous cancellation), supports
big-endian hosts, has complete support for migration and follows the
QEMU coding standards much more closely.

To write the driver, I first split Don's patch in two parts, with
the configuration bits in one file and the rest in a separate file.
I first left mptconfig.c in place and rewrote the rest, then deleted
mptconfig.c as well.  The configuration pages are still based mostly on
VirtualBox's, though not exactly the same.  However, the implementation
is completely different.  The contents of the pages themselves should
not be copyrightable.

Signed-off-by: Don Slutz <Don@CloudSwitch.com>
Message-Id: <1347382813-5662-1-git-send-email-Don@CloudSwitch.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-02-09 15:45:26 +01:00
..
acpi acpi: add function to extract oem_id and oem_table_id from the user's SLIC 2016-02-06 20:44:10 +02:00
arm arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
audio
block fdc: add drive type qapi enum 2016-01-25 14:35:23 -05:00
char
cpu icc_bus: drop the unused files 2015-10-02 16:22:02 -03:00
cris
gpio i.MX: add support for lower and upper interrupt in GPIO. 2015-12-17 13:37:13 +00:00
i2c
i386 intel_iommu: large page support 2016-02-06 20:44:10 +02:00
input
intc bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
ipack
ipmi ipmi: introduce a struct ipmi_sdr_compact 2016-02-06 20:44:09 +02:00
isa dma: remove now useless DMA_* functions 2016-02-03 11:28:58 -05:00
kvm
lm32
m68k
mem dimm: Correct type of MemoryHotplugState->base 2016-02-06 20:44:10 +02:00
mips
misc bcm2835_property: add bcm2835 property channel 2016-02-03 15:00:44 +00:00
net
nvram fw_cfg: remove offset argument from callback prototype 2015-12-15 11:45:59 +01:00
pci hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
pci-host q35: Remove MCHPCIState.guest_info field 2015-12-22 17:45:13 +02:00
ppc spapr: Remove rtas_st_buffer_direct() 2016-01-30 23:37:36 +11:00
s390x
scsi scsi-generic: grab device and port SAS addresses from backend 2016-02-09 15:45:26 +01:00
sd sdhci: add optional quirk property to disable card insertion/removal interrupts 2015-12-22 16:34:26 +08:00
sh4
smbios
sparc
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer pc: acpi: move HPET from DSDT to SSDT 2016-01-09 23:20:18 +02:00
tricore
unicore32
usb
vfio vfio: Record host IOMMU's available IO page sizes 2015-10-05 12:38:41 -06:00
virtio virtio: introduce virtqueue_alloc_element 2016-02-06 20:44:08 +02:00
watchdog
xen fix MSI injection on Xen 2016-02-06 20:44:10 +02:00
boards.h Move SET_MACHINE_COMPAT macro to boards.h 2016-01-11 15:29:05 +11:00
bt.h bt: check struct sizes 2015-12-04 09:39:55 +03:00
compat.h fdc: change auto fallback drive for ISA FDC to 288 2016-01-25 14:36:01 -05:00
devices.h
elf_ops.h elf: Update EM_MOXIE definition 2015-09-25 12:04:43 +02:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h vmstate: define vmstate_info_uinttl 2016-01-16 12:01:23 +00:00
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qobject: Rename qtype_code to QType 2015-12-17 08:21:28 +01:00
qdev-dma.h
qdev-properties.h fdc: Add fallback option 2016-01-25 14:35:23 -05:00
qdev.h
stream.h
sysbus.h
usb.h