From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Greetings Paul, Jan, Kevin and co, This series is against my v0.12.5 qemu-kvm.git that contains QEMU SCSI layer SGL passthrough from Gerd Hoffman, 8708EM2 MegaSas emulation from Dr. Hannes Reinecke, and well as my own hw/scsi-bsg.c support. This tree is located here: http://git.kernel.org/?p=virt/kvm/nab/qemu-kvm.git;a=summary This first patch adds a missing qdev->reset() NOP caller in hw/scsi-generic.c that is now expected by lsi53c895a.c in >= v0.12.5 code. You will want to apply this to all >= v0.12.5 QEMU trees so scsi-generic does not segfault with lsi53c895a expecting a valid qdev->reset(). The second item is a bit more exotic.. 8-) So I have been thinking about how to get qemu-kvm.git scsi-generic <-> TCM_Loop to function with OS/2 Warp v4 (SP15) in guest for a while now, and I am happy to report that after sending some time in the last weeks getting OS/2 setup (hey, it has been +13 years) and finding a functioning sym53c895a driver, and finally finding a working SYM8XX.ADD and being able to fill in missing informational registers and adding a workaround to fix a bogus Destination ID register WRITE from the now +10 year old SYM8XX.ADD driver code. Here are some screenshots of the patch in action: *) Booting with BASEDEV=SYM8XX.ADD /V: http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-boot.png *) TCM_loop <-> LIO-ORG SPC-3 LUN from KVM Host in the OS/2 Workplace shell! http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-running.png So please go ahead and merge the first patch and let me know if you have any concerns about merging the second one. And thanks to Paul Brook for writing the original lsi53c895a.c code, as it is certainly quite an interesting piece of C code to hack on! Best, --nab Nicholas Bellinger (2): scsi-generic: Add reset handler lsi53c895a: Add missing registers and workaround for OS/2 Warp SYM8XX.ADD driver hw/lsi53c895a.c | 26 ++++++++++++++++++++++---- hw/scsi-generic.c | 6 ++++++ 2 files changed, 28 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html