On 1 May 2012 13:39, Avi Kivity <a...@redhat.com> wrote: > On 04/30/2012 04:40 PM, Peter Maydell wrote: >> I wrote it for essentially the purpose described above :-) >> If you're the owner of the sysbus device in question then it's >> entirely fine as you are the one deciding whether to use the >> traditional map function or not. >> >> It's as good as we're going to get until QOM actually lets >> you export memory regions and pins, at which point we can just >> convert all the sysbus devices. > > Sure. But expect breakage if sysbus changes, for example dropping use > of get_system_memory().
That's OK, I'm happy to nak sysbus patches which break this use case :-) -- PMM