On Thu, May 19, 2011 at 3:12 PM, Avi Kivity <a...@redhat.com> wrote: > +struct MemoryRegion { > + /* All fields are private - violators will be prosecuted */ > + const MemoryRegionOps *ops; > + MemoryRegion *parent;
In the case where a region is aliased (mapped twice into the address space at different addresses) I need two MemoryRegions? The MemoryRegion describes an actual mapping in the <parent, addr, ram_addr> tuple, not just the attributes of the region (ops, size, ...). Stefan