e351b82611
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> |
||
---|---|---|
.. | ||
aarch64-linux-user.mak | ||
aarch64-softmmu.mak | ||
alpha-linux-user.mak | ||
alpha-softmmu.mak | ||
arm-linux-user.mak | ||
arm-softmmu.mak | ||
armeb-linux-user.mak | ||
cris-linux-user.mak | ||
cris-softmmu.mak | ||
i386-bsd-user.mak | ||
i386-linux-user.mak | ||
i386-softmmu.mak | ||
lm32-softmmu.mak | ||
m68k-linux-user.mak | ||
m68k-softmmu.mak | ||
microblaze-linux-user.mak | ||
microblaze-softmmu.mak | ||
microblazeel-linux-user.mak | ||
microblazeel-softmmu.mak | ||
mips64-linux-user.mak | ||
mips64-softmmu.mak | ||
mips64el-linux-user.mak | ||
mips64el-softmmu.mak | ||
mips-linux-user.mak | ||
mips-softmmu.mak | ||
mipsel-linux-user.mak | ||
mipsel-softmmu.mak | ||
mipsn32-linux-user.mak | ||
mipsn32el-linux-user.mak | ||
moxie-softmmu.mak | ||
or32-linux-user.mak | ||
or32-softmmu.mak | ||
pci.mak | ||
ppc64-linux-user.mak | ||
ppc64-softmmu.mak | ||
ppc64abi32-linux-user.mak | ||
ppc64le-linux-user.mak | ||
ppc-linux-user.mak | ||
ppc-softmmu.mak | ||
ppcemb-softmmu.mak | ||
s390x-linux-user.mak | ||
s390x-softmmu.mak | ||
sh4-linux-user.mak | ||
sh4-softmmu.mak | ||
sh4eb-linux-user.mak | ||
sh4eb-softmmu.mak | ||
sound.mak | ||
sparc32plus-linux-user.mak | ||
sparc64-bsd-user.mak | ||
sparc64-linux-user.mak | ||
sparc64-softmmu.mak | ||
sparc-bsd-user.mak | ||
sparc-linux-user.mak | ||
sparc-softmmu.mak | ||
tilegx-linux-user.mak | ||
tricore-softmmu.mak | ||
unicore32-linux-user.mak | ||
unicore32-softmmu.mak | ||
usb.mak | ||
x86_64-bsd-user.mak | ||
x86_64-linux-user.mak | ||
x86_64-softmmu.mak | ||
xtensa-softmmu.mak | ||
xtensaeb-softmmu.mak |