Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754528AbZIIXJA (ORCPT ); Wed, 9 Sep 2009 19:09:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752645AbZIIXI7 (ORCPT ); Wed, 9 Sep 2009 19:08:59 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:54079 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617AbZIIXI7 (ORCPT ); Wed, 9 Sep 2009 19:08:59 -0400 Date: Wed, 9 Sep 2009 19:08:54 -0400 From: Christoph Hellwig To: Anthony Liguori Cc: akataria@vmware.com, James Bottomley , Rolf Eike Beer , Brian King , "Chetan.Loke@Emulex.Com" , "linux-scsi@vger.kernel.org" , LKML , Andrew Morton , "pv-drivers@vmware.com" , virtualization Subject: Re: [PATCH] SCSI driver for VMware's virtual HBA - V4. Message-ID: <20090909230854.GA4495@infradead.org> References: <1252458903.24914.73.camel@ank32.eng.vmware.com> <4AA8177A.2020606@codemonkey.ws> <1252533093.24633.40.camel@ank32.eng.vmware.com> <4AA8284A.3010908@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA8284A.3010908@codemonkey.ws> User-Agent: Mutt/1.5.19 (2009-01-05) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 24 On Wed, Sep 09, 2009 at 05:12:26PM -0500, Anthony Liguori wrote: > Alok Kataria wrote: >> I see your point, but the ring logic or the ABI that we use to >> communicate between the hypervisor and guest is not shared between our >> storage and network drivers. As a result, I don't see any benefit of >> separating out this ring handling mechanism, on the contrary it might >> just add some overhead of translating between various layers for our >> SCSI driver. >> > > But if you separate out the ring logic, it allows the scsi logic to be > shared by other paravirtual device drivers. This is significant and > important from a Linux point of view. As someone who has been hacking on a virtio scsi prototype I don't think it's a good idea. The vmware driver is a horrible design and I don't think it should be merged. Besides beeing a ugly driver and ABI we really should not support this kind of closed protocol development. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/