From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support Date: Wed, 29 Apr 2009 12:11:19 +0100 Message-ID: <200904291211.20374.paul@codesourcery.com> References: <20090427082606.GA32604@lst.de> <49F730AD.8090705@codemonkey.ws> <20090429104854.GA7846@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , Anthony Liguori , kvm@vger.kernel.org, Rusty Russell , Christian Borntraeger , Hannes Reinecke To: qemu-devel@nongnu.org Return-path: Received: from mail.codesourcery.com ([65.74.133.4]:36714 "EHLO mail.codesourcery.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752872AbZD2LLW (ORCPT ); Wed, 29 Apr 2009 07:11:22 -0400 In-Reply-To: <20090429104854.GA7846@lst.de> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Wednesday 29 April 2009, Christoph Hellwig wrote: > On Tue, Apr 28, 2009 at 11:37:01AM -0500, Anthony Liguori wrote: > > Ah, excellent. I think that's a great thing to do. So do you think > > virtio-scsi would deprecate virtio-blk? > > I don't think so. If you have an image format or a non-scsi blockdevice > underneath virtio-block avoids the encoding into SCSI CDBs and back and > should be faster. Is this actually measurably faster, or just infinitesimally faster in theory? I can maybe see that virtio-blk is slightly simpler for dumb drivers, though even then a basic scsi host is pretty straightforward and I find it hard to believe there's much real benefit. Paul