On Tue, Jan 3, 2012 at 10:30 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 3 January 2012 07:05, Ying-Shiuan Pan <yingshiuan....@gmail.com> wrote: >> I'm not sure if it is appropriate to put patches here because >> virtio-mmio is actually not in official repository yet. >> In case that someone else wants to test virtio-mmio as I did, I decide >> to send them out. >> >> Currently, I've successfully tested virtio-blk, virtio-net, and >> virtio-balloon. > > Thanks for tracking down these bugs and providing fixes. If it's OK with > you, I think I'll simply fold them in to my patches, since they haven't > been submitted upstream yet (the virtio subsystem needs splitting > out to have a cleaner backend/transport separation first).
The virtio transport separation in QEMU is something I mean to look into. I've talked with Anthony in the past about the transport (e.g. PCI) providing a virtio bus, which allows us to reuse qdev/QOM in a more natural way. Today the hw/virtio* code is glued together in an ad-hoc way. 9pfs has started to factor out the virtio-9p-pci device. It's time to put a good solution in place for all virtio devices. Stefan