From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47404 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLIVY-0002MN-Du for qemu-devel@nongnu.org; Wed, 24 Nov 2010 11:48:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLIVE-0002Iu-Bv for qemu-devel@nongnu.org; Wed, 24 Nov 2010 11:47:48 -0500 Received: from verein.lst.de ([213.95.11.210]:54806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLIVE-0002ID-2U for qemu-devel@nongnu.org; Wed, 24 Nov 2010 11:47:28 -0500 Date: Wed, 24 Nov 2010 17:47:22 +0100 From: Christoph Hellwig Subject: Re: [Qemu-devel] Re: [PATCH 0/5] Message-ID: <20101124164722.GA31124@lst.de> References: <1290587996-8829-1-git-send-email-nab@linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-devel , "Nicholas A. Bellinger" , Gerd Hoffmann , Paolo Bonzini , Hannes Reinecke On Wed, Nov 24, 2010 at 01:38:59PM +0000, Stefan Hajnoczi wrote: > I don't know the Linux SCSI stack, so some basic questions for you :). > > With scsi-generic I can send SCSI commands to a device. How is bsg > different? The bsg code looks cleaner than sg but they both boil down > to issuing SCSI requests using the Linux block layer AFAICT. It's basically a new version of the sg driver with additional features, and also dropping some old legacy features.