From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNSy9-0003CU-05 for qemu-devel@nongnu.org; Mon, 07 Nov 2011 12:26:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNSy7-0002nW-LD for qemu-devel@nongnu.org; Mon, 07 Nov 2011 12:26:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNSy7-0002nR-Bl for qemu-devel@nongnu.org; Mon, 07 Nov 2011 12:26:47 -0500 Message-ID: <4EB814D1.4000408@redhat.com> Date: Mon, 07 Nov 2011 18:26:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4EB7EC77.2060107@redhat.com> <9749882906171@192.168.2.69> In-Reply-To: <9749882906171@192.168.2.69> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Summary of CD, DVD passthrough tests with -drive if=scsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Schmitt Cc: qemu-devel@nongnu.org On 11/07/2011 06:02 PM, Thomas Schmitt wrote: > > But how would i come from there to your proposal ? > -device virtio-blk,drive=scsicd,logical_block_size=2048,physical_block_size=2048 First of all, virtio-blk is an alias for virtio-blk-pci. I should not have used it as it's likely confusing, but anyway "qemu-kvm -device virtio-blk-pci,?" tells you all the options that a virtio-blk(-pci) device can have. The idea then is that when you want to express extra options, you cannot use simply "-drive if=virtio", and qdev-device-use.txt then hints about how to convert -drive if=virtio" to "-drive if=none" + "-device virtio-blk". Paolo