From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyqIy-0006c8-1B for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:37:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyqIt-0006aD-FT for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:37:11 -0400 Received: from [199.232.76.173] (port=49229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyqIt-0006a4-8Y for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:37:07 -0400 Received: from rv-out-0708.google.com ([209.85.198.251]:61039) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LyqIs-0000f7-Rc for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:37:07 -0400 Received: by rv-out-0708.google.com with SMTP id c5so405812rvf.22 for ; Tue, 28 Apr 2009 09:37:05 -0700 (PDT) Message-ID: <49F730AD.8090705@codemonkey.ws> Date: Tue, 28 Apr 2009 11:37:01 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support References: <20090427082606.GA32604@lst.de> <20090427082914.GA383@lst.de> <49F5C303.3060003@codemonkey.ws> <20090428095154.GB4137@lst.de> In-Reply-To: <20090428095154.GB4137@lst.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: Christian Borntraeger , Rusty Russell , qemu-devel@nongnu.org, kvm@vger.kernel.org, Hannes Reinecke Christoph Hellwig wrote: >> Should we be >> handling some SCSI cmds internally to QEMU (like eject operations) and >> supporting media=cdrom in -drive for if=virtio? >> > > Not quite yet. Eventually I want to support a virtio-scsi kind of > transport which would use the same virtio-blk protocol but only send > scsi commands. We'd need a different driver on the Linux side for > it that registers to the scsi layer. On the QEMU side it could either > do pass-through to a real scsi device using SG_IO or use the existing > command scsi emulator in scsi-disk.c. > Ah, excellent. I think that's a great thing to do. So do you think virtio-scsi would deprecate virtio-blk? I've gotten a number of requests for exposing stuff like VPD through virtio-blk. There's also a surprising amount of software out there that assumes /dev/sdX or /dev/hdX naming. Regards, Anthony Liguori