Hello! > Why bother? This is adding more code than it deletes
I just don't like code duplication, wanted to do this long time ago. Additionally this enables to add support for virtio-mmio to more machines. Actually it could be used not only by ARM with little modifications. > and is implicitly tying together details of how the these > two boards are laid out What exactly do you mean? The only thing assumed by new functions is that virtio-mmio devices are laid out in a single addresses window, one after another. Base address and irq do not have to be the same everywhere. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia