On 15/11/06 11:12, "Herbert Xu" <[EMAIL PROTECTED]> wrote: >> Could we add a recursion counter to the memory-access functions, and bail if >> it reaches some limit? > > Yes that would work too. However, chips such as rtl8139 should never > do MMIO in this case (the real hardware would never allow that to occur) > so we should do that accordingly.
We'd take a patch for Xen to do it the 'proper way' with an extended memory-access API if that is also acceptable for the upstream Qemu maintainers. -- Keir