On 08/03/2011 12:28 AM, Peter Maydell wrote:
On 2 August 2011 21:56, Anthony Liguori<anth...@codemonkey.ws> wrote:
> Hrm, this looks like badness to me.
>
> You're effectively using MemoryRegions to implement an ad-hoc interface.
As you'll see below, the hardware intreface is somewhat ad-hoc :-)
IMO it fits perfectly into a qdev which contains 8 qbuses, each of which
is connected to another qdev.
The plan would be:
- fold sysbus into qdev
- improve qdev/qbus memory region support
- reimplement PCI BARs atop qdev regions
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.