From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0DGn-0002dB-Cv for qemu-devel@nongnu.org; Wed, 22 Feb 2012 09:34:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0DGi-0002MH-Ah for qemu-devel@nongnu.org; Wed, 22 Feb 2012 09:34:13 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:64984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0DGi-0002M5-4P for qemu-devel@nongnu.org; Wed, 22 Feb 2012 09:34:08 -0500 Received: by pbbro12 with SMTP id ro12so281162pbb.4 for ; Wed, 22 Feb 2012 06:34:06 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 22 Feb 2012 15:33:38 +0100 Message-Id: <1329921236-23461-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL v4 00/18] virtio-scsi driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony, the following changes since commit 99c7f87826337fa81f2f0f9baa9ca0a44faf90e9: input: send kbd+mouse events only to running guests. (2012-02-17 11:02:55 -0600) are available in the git repository at: git://github.com/bonzini/qemu.git virtio-scsi Kevin agreed on getting virtio-scsi in via a pull request, now that the code has been reviewed by Stefan Hajnoczi (virtio-scsi bits), Laszlo Ersek and Orit Wassermann. Laszlo and Orit found problems in patches 2 and 14, which are fixed in this pull request. In fact they reviewed almost all SCSI changes that went in since 0.15 (!) and found two bugs in scsi-bus.c, fixed in patches 16/17. Paolo Bonzini (16): 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 scsi: fix wrong return for target INQUIRY scsi: fix searching for an empty id scsi-block: always use scsi_generic_ops for cache != none 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 | 37 +++ 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 | 33 ++ hw/s390-virtio-bus.h | 2 + hw/scsi-bus.c | 159 +++++++++- hw/scsi-disk.c | 138 +++++++-- 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 | 617 +++++++++++++++++++++++++++++++++++++ hw/virtio-scsi.h | 36 +++ hw/virtio.h | 3 + 22 files changed, 1132 insertions(+), 113 deletions(-) create mode 100644 hw/virtio-scsi.c create mode 100644 hw/virtio-scsi.h -- 1.7.7.6