From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwzQG-0002EL-Aq for qemu-devel@nongnu.org; Mon, 13 Feb 2012 12:10:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwzQA-00055U-6d for qemu-devel@nongnu.org; Mon, 13 Feb 2012 12:10:40 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:45129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwzQA-00055Q-0H for qemu-devel@nongnu.org; Mon, 13 Feb 2012 12:10:34 -0500 Received: by dadp14 with SMTP id p14so5365383dad.4 for ; Mon, 13 Feb 2012 09:10:33 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 13 Feb 2012 18:10:07 +0100 Message-Id: <1329153022-31159-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v3 00/15] SCSI s/g + SCSI migration + virtio-scsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com, christian.hoff@de.ibm.com, kvm@vger.kernel.org Here is v3 of the virtio-scsi driver. Changes are: - the virtio id is now 8, to fix a conflict in the virtio spec; - rebased for QOM; - changed the resid type to size_t following Stefan's advice; - fixed sense length (patch from Christian Hoff). The spec has been committed by Rusty (version 0.9.4), and SCSI maintainers should be okay with including it in the 3.4 kernel. 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 | 34 ++ hw/s390-virtio-bus.h | 4 +- hw/scsi-bus.c | 142 +++++++++- 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 | 56 ++++ hw/virtio-pci.h | 2 + hw/virtio-scsi.c | 607 +++++++++++++++++++++++++++++++++++++ hw/virtio-scsi.h | 36 +++ hw/virtio.h | 3 + 22 files changed, 1098 insertions(+), 104 deletions(-) create mode 100644 hw/virtio-scsi.c create mode 100644 hw/virtio-scsi.h -- 1.7.7.6