On Wed, 2011-11-30 at 14:32 +0000, Arnd Bergmann wrote:
I don't care much either way, but I think it would be good to use similar solutions across all hypervisors. The two options that I've seen discussed for KVM were to use either a virtual PCI bus with individual virtio-pci devices as on the PC, or to use the new virtio-mmio driver and individually put virtio devices into the device tree.
Let me just add that the virtio-mmio devices can already be instantiated from DT (see Documentation/devicetree/bindings/virtio/mmio.txt).
For A9-based VE I'd suggest placing them around 0x1001e000, eg.:
virtio_block@1001e000 { compatible = "virtio,mmio"; reg = <0x1001e000 0x100>; interrupts = <41>; }
Cheers!
Paweł