On Mon, Jan 16, 2012 at 4:30 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Here is v2 (three counting the RFC) of the virtio-scsi driver. > Unlike previous versions, it includes migration support. > > The only change in the spec has been s/UNDERRUN/OVERRUN/g. > > Paolo Bonzini (13): > dma-helpers: make QEMUSGList target independent > dma-helpers: add dma_buf_read and dma_buf_write > dma-helpers: add accounting wrappers > ahci: use new DMA helpers > scsi: pass residual amount to command_complete > scsi: add scatter/gather functionality > scsi-disk: enable scatter/gather functionality > scsi: add SCSIDevice vmstate definitions > scsi-generic: add migration support > scsi-disk: add migration support > virtio-scsi: add basic SCSI bus operation > virtio-scsi: process control queue requests > virtio-scsi: add migration support > > Stefan Hajnoczi (2): > virtio-scsi: Add virtio-scsi stub device > virtio-scsi: Add basic request processing infrastructure > > Makefile.target | 1 + > default-configs/pci.mak | 1 + > default-configs/s390x-softmmu.mak | 1 + > dma-helpers.c | 36 +++ > dma.h | 20 +- > hw/esp.c | 3 +- > hw/ide/ahci.c | 82 +----- > hw/lsi53c895a.c | 2 +- > hw/pci.h | 1 + > hw/s390-virtio-bus.c | 24 ++ > hw/s390-virtio-bus.h | 2 + > hw/scsi-bus.c | 143 +++++++++- > hw/scsi-disk.c | 120 +++++++- > hw/scsi-generic.c | 25 ++ > hw/scsi.h | 22 ++- > hw/spapr_vscsi.c | 2 +- > hw/usb-msd.c | 2 +- > hw/virtio-pci.c | 42 +++ > hw/virtio-pci.h | 2 + > hw/virtio-scsi.c | 607 > +++++++++++++++++++++++++++++++++++++ > hw/virtio-scsi.h | 36 +++ > hw/virtio.h | 3 + > 22 files changed, 1074 insertions(+), 103 deletions(-) > create mode 100644 hw/virtio-scsi.c > create mode 100644 hw/virtio-scsi.h
The virtio-scsi portions look good. Stefan