[Qemu-devel] [PATCH v2 3/6] memory: introduce memory_region_set_alias_offset()

2011-12-04 Thread Avi Kivity
Add an API to update an alias offset of an active alias. This can be used to simplify implementation of dynamic memory banks. Signed-off-by: Avi Kivity --- memory.c | 14 ++ memory.h | 13 - 2 files changed, 26 insertions(+), 1 deletions(-) diff --git a/memory.c b/m

Re: [Qemu-devel] [PATCH v2 3/6] memory: introduce memory_region_set_alias_offset()

2011-12-04 Thread Blue Swirl
On Sun, Dec 4, 2011 at 18:09, Avi Kivity wrote: > Add an API to update an alias offset of an active alias.  This can be > used to simplify implementation of dynamic memory banks. > > Signed-off-by: Avi Kivity > --- >  memory.c |   14 ++ >  memory.h |   13 - >  2 files chan

Re: [Qemu-devel] [PATCH v2 3/6] memory: introduce memory_region_set_alias_offset()

2011-12-05 Thread Avi Kivity
On 12/04/2011 11:34 PM, Blue Swirl wrote: > On Sun, Dec 4, 2011 at 18:09, Avi Kivity wrote: > > Add an API to update an alias offset of an active alias. This can be > > used to simplify implementation of dynamic memory banks. > > > > */ > > -void memory_region_set_address(MemoryRegion *mr, targe