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