|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Summary of CD, DVD passthrough tests with -drive if=scsi |
Date: | Mon, 07 Nov 2011 18:26:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |