On 03/23/10 11:47, Michael S. Tsirkin wrote:
I'm not sure what we should do for command line syntax. We can keep -drive working as is. Do we need to support -device based creation? I don't think we've really considered what to do in a situation like this.
If we need to change command line because of an implementation change, IMO something is wrong with the design. Users shouldn't care about non-existent virtio bus.
You can automagically create the virtio devices on the virtio bus, passing through any properties. usb-storage does this for example with the scsi-disk device it needs. But then you can't have a generic virtio-pci device any more. You need a virtio-blk-pci which creates a virtio-bus and virtio-blk. So it doesn't buy us much over the current situation ...
cheers, Gerd