On Wed, May 30, 2012 at 1:01 PM, Markus Armbruster <arm...@redhat.com> wrote: > Ordinary device models have a single state struct. The first member is > a DeviceState or a specialization of DeviceState, e.g. a PCIDevice. > Simple enough.
I think Evgeny's virtio mmio patches change all this. In the recent virtio-pci thread we were discussing how the virtio transport (mmio, pci) and virtio devices (net, blk, etc) fit together. The email thread is "Virtio-pci issues" from Evgeny Voevodin <e.voevo...@samsung.com>. It probably makes sense to first merge Evgeny's virtio refactoring and then ensure it's nicely mapped to QOM. Stefan