From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNN8r-0006JB-TZ for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:13:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNN8n-0006J1-5O for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:13:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNN8m-0006Ii-QS for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:13:25 -0500 Message-ID: <4EB7BD4E.6010703@redhat.com> Date: Mon, 07 Nov 2011 12:13:18 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4EB790A2.4040806@redhat.com> <97429251727271@192.168.2.69> In-Reply-To: <97429251727271@192.168.2.69> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Do you have a use for a tester of virtio-scsi with CD drives ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Schmitt Cc: kwolf@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org On 11/07/2011 11:04 AM, Thomas Schmitt wrote: > In a thread on linux-hotplug, /dev/sg* is declared to be deprecated > in favor of/dev/bsg/* and /dev/sr*. > Will this become a problem ? I think /dev/bsg is backwards-compatible more or less, but it would help if it had decent documentation in the kernel tree. > I did not succeed with googling for a way to get a block device > running on top of file=/dev/sg*,if=virtio. No, that's not possible with /dev/sg. But I think this helps: -drive file=/dev/sr0,if=none,id=scsicd -device virtio-blk,drive=scsicd,logical_block_size=2048,physical_block_size=2048 At least here, dd works with this command line. This probably will be fixed in QEMU 1.1 (i.e. the release after the next one). > The word "passthrough" does not show up in the context of drive > emulation in any documentation inside the git clone. > I only see statements about: "passthrough" security model. > The word "virtio" is mentioned more often, but without much explanation > of -drive use cases and pitfalls. (Only docs/qdev-device-use.txt > has some more detailed information.) Yes, docs/qdev-device-use.txt helps. "qemu -device virtio-blk,?" too. > Is there an external documentation emerging ? > I would like to read it and contribute my experiences. Hopefully, everything would just work. :) You can work on wiki.qemu.org in the meanwhile. Paolo