Il 18/12/2012 15:00, Peter Maydell ha scritto: > On 18 December 2012 13:10, Michael S. Tsirkin <m...@redhat.com> wrote: >> > And what makes virtio so special anyway? e1000 can be used without >> > exposing users to internal buses and all kind of nastiness like this. > Congratulations, you're using an architecture that has a pluggable > discoverable bus implemented by just about all machines using that > architecture. That makes things much easier for you.
Yes, that's true. And you're basically using virtio as the pluggable discoverable bus, which is actually a pretty good idea. However, what you are doing is very similar to what virtio-s390 does, and it manages to do it just fine with the existing virtio.c infrastructure. The only difference is that you have a 1:1 relationship between virtio-mmio "slots" described by the board and virtio-mmio devices added by the user. True, it is not pure qdev, but it is much simpler and doesn't require convincing grumpy maintainers. :) Paolo