Re: [Qemu-devel] [RFC PATCH v2 3/6] memory: add memory_region_to_address()

2013-04-17 Thread Peter Maydell
On 17 April 2013 01:10, Scott Wood scottw...@freescale.com wrote: On 04/16/2013 03:25:50 AM, Peter Maydell wrote: A MemoryRegion can appear in more than one AddressSpace (or none at all), so I don't think this is a very clearly defined API to put in the memory API itself. (It's ok to make that

Re: [Qemu-devel] [RFC PATCH v2 3/6] memory: add memory_region_to_address()

2013-04-16 Thread Peter Maydell
On 16 April 2013 00:19, Scott Wood scottw...@freescale.com wrote: This is useful for when a user of the memory region API needs to communicate the absolute bus address to something outside QEMU (in particular, KVM). Signed-off-by: Scott Wood scottw...@freescale.com --- TODO: Use add/del

Re: [Qemu-devel] [RFC PATCH v2 3/6] memory: add memory_region_to_address()

2013-04-16 Thread Scott Wood
On 04/16/2013 03:25:50 AM, Peter Maydell wrote: On 16 April 2013 00:19, Scott Wood scottw...@freescale.com wrote: This is useful for when a user of the memory region API needs to communicate the absolute bus address to something outside QEMU (in particular, KVM). Signed-off-by: Scott Wood

[Qemu-devel] [RFC PATCH v2 3/6] memory: add memory_region_to_address()

2013-04-15 Thread Scott Wood
This is useful for when a user of the memory region API needs to communicate the absolute bus address to something outside QEMU (in particular, KVM). Signed-off-by: Scott Wood scottw...@freescale.com --- TODO: Use add/del memory listeners later in the patchset, which would eliminate the need for