Received: from eggs.gnu.org ([2001:4830:134:3::10]:47249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrosg-0003jb-Hu for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:36:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wrosb-0004I1-0t for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:35:58 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:53145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrosa-0004Hl-Mp for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:35:52 -0400 Received: by mail-wi0-f182.google.com with SMTP id r20so6604471wiv.9 for ; Tue, 03 Jun 2014 06:35:49 -0700 (PDT) Date: Tue, 3 Jun 2014 15:35:46 +0200 From: Stefan Hajnoczi Message-ID: <20140603133546.GE723@stefanha-thinkpad.muc.redhat.com> References: <1400746963-3717-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400746963-3717-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 0/2] dataplane: Enable "scsi=on" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi On Thu, May 22, 2014 at 04:22:41PM +0800, Fam Zheng wrote: > This makes the SG_IO code of non-dataplane available to dataplane, so that > dataplane can use to allow scsi=on. > > v3: Change parameter to VirtIOBlock pointer. Undo the swap in code movement. > (Paolo) > > v2: > [1/2] Fix scsi=off case and drop VirtIOBlockReq.scsi. > [2/2] Pass conf to virtio_blk_handle_scsi_req. > > Fam > > > Fam Zheng (2): > virtio-blk: Factor out virtio_blk_handle_scsi_req from > virtio_blk_handle_scsi > dataplane: Support VIRTIO_BLK_T_SCSI_CMD > > hw/block/dataplane/virtio-blk.c | 18 +++++----- > hw/block/virtio-blk.c | 75 ++++++++++++++++++++++------------------- > include/hw/virtio/virtio-blk.h | 3 ++ > 3 files changed, 54 insertions(+), 42 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan