Received: from eggs.gnu.org ([2001:4830:134:3::10]:50212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnMcA-0004Ba-52 for qemu-devel@nongnu.org; Thu, 22 May 2014 02:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnMc4-0005Bc-0L for qemu-devel@nongnu.org; Thu, 22 May 2014 02:36:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnMc3-0005BV-O8 for qemu-devel@nongnu.org; Thu, 22 May 2014 02:36:23 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4M6aKCg004856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 22 May 2014 02:36:21 -0400 From: Fam Zheng Date: Thu, 22 May 2014 14:36:27 +0800 Message-Id: <1400740589-3655-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] dataplane: Enable "scsi=on" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Stefan Hajnoczi This makes the SG_IO code of non-dataplane available to dataplane, so that dataplane can use to allow scsi=on. 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 | 19 +++++----- hw/block/virtio-blk.c | 77 +++++++++++++++++++++-------------------- include/hw/virtio/virtio-blk.h | 3 ++ 3 files changed, 54 insertions(+), 45 deletions(-) -- 1.9.2