From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQMN1-0001Yi-4t for qemu-devel@nongnu.org; Tue, 15 Nov 2011 12:00:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQMMq-00008F-8x for qemu-devel@nongnu.org; Tue, 15 Nov 2011 12:00:23 -0500 Received: from mail-gx0-f173.google.com ([209.85.161.173]:64093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQMMq-000087-3k for qemu-devel@nongnu.org; Tue, 15 Nov 2011 12:00:16 -0500 Received: by ggnr4 with SMTP id r4so1894156ggn.4 for ; Tue, 15 Nov 2011 09:00:15 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 15 Nov 2011 18:00:01 +0100 Message-Id: <1321376405-22776-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/4] virtio-scsi device model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@linux.vnet.ibm.com, mst@redhat.com Here is the first sneak peek of virtio-scsi. It's on top of my scsi-sg branch at http://github.com/bonzini/qemu. I'm more interested in getting early reviews in the virtio side, so I'm omitting the scsi-specific patches that introduce support for scatter/gather I/O in the SCSI layer. What's missing is 1) support for writable config space, 2) testing TMF, 3) events; 4) migration. The last two do not need to be in at the first commit, they can come later. Tested lightly with a seabios driver (see the seabios ML). The Linux driver will come next... Paolo Bonzini (2): virtio-scsi: add basic SCSI bus operation virtio-scsi: process control queue requests 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 + hw/pci.h | 1 + hw/virtio-pci.c | 42 ++++ hw/virtio-pci.h | 2 + hw/virtio-scsi.c | 502 +++++++++++++++++++++++++++++++++++++++++++++++ hw/virtio-scsi.h | 28 +++ hw/virtio.h | 3 + 8 files changed, 580 insertions(+), 0 deletions(-) create mode 100644 hw/virtio-scsi.c create mode 100644 hw/virtio-scsi.h -- 1.7.7.1