From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH] virtio_blk: SG_IO passthru support Date: Tue, 5 May 2009 12:43:05 +0930 Message-ID: <200905051243.07085.rusty@rustcorp.com.au> References: <20090427082121.GA32488@lst.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Hannes Reinecke , Christian Borntraeger , kvm@vger.kernel.org To: Christoph Hellwig Return-path: Received: from ozlabs.org ([203.10.76.45]:53964 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbZEEEY1 (ORCPT ); Tue, 5 May 2009 00:24:27 -0400 In-Reply-To: <20090427082121.GA32488@lst.de> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 27 Apr 2009 05:51:21 pm Christoph Hellwig wrote: > From: Hannes Reinecke > > Add support for SG_IO passthru to virtio_blk. We add the scsi command > block after the normal outhdr, and the scsi inhdr with full status > information aswell as the sense buffer before the regular inhdr. > > [hch: forward ported, added the VIRTIO_BLK_F_SCSI flags, some comments > and tested the whole beast] Thanks Christoph, it's really nice to get a patch which is well thought-out, thorough and intuitive. Oh, and if you're bored, it'd be nice to have lguest support for at least ejecting a CDROM. Applied, Rusty.