Re: [Qemu-devel] [RFC PATCH v1 07/11] memory.c: Add address_space_init_shareable()

2014-08-20 Thread Peter Crosthwaite
On Wed, Jun 4, 2014 at 1:30 AM, Peter Maydell wrote: > On 3 June 2014 03:10, Peter Crosthwaite wrote: >> This will either create a new AS or return a pointer to an >> already existing equivalent one. Both name and root mr must >> match. >> >> The motivation is to reuse address spaces as much as p

Re: [Qemu-devel] [RFC PATCH v1 07/11] memory.c: Add address_space_init_shareable()

2014-06-03 Thread Peter Maydell
On 3 June 2014 03:10, Peter Crosthwaite wrote: > This will either create a new AS or return a pointer to an > already existing equivalent one. Both name and root mr must > match. > > The motivation is to reuse address spaces as much as possible. > Its going to be quite common that bus masters out

[Qemu-devel] [RFC PATCH v1 07/11] memory.c: Add address_space_init_shareable()

2014-06-02 Thread Peter Crosthwaite
This will either create a new AS or return a pointer to an already existing equivalent one. Both name and root mr must match. The motivation is to reuse address spaces as much as possible. Its going to be quite common that bus masters out in device land have pointers to the same memory region for