qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory regio


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API
Date: Thu, 19 May 2011 22:11:42 +0100

On Thu, May 19, 2011 at 3:12 PM, Avi Kivity <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]