Re: [Qemu-devel] [RFC PATCH v1 4/4] numa: API to lookup NUMA node by address

2015-06-15 Thread David Gibson
On Fri, Jun 12, 2015 at 02:30:28PM +0530, Bharata B Rao wrote: > Introduce an API numa_get_node(ram_addr_t addr, Error **errp) that > returns the NUMA node to which the given address belongs to. This > API works uniformly for both boot time as well as hotplugged memory. > > This API is needed by s

[Qemu-devel] [RFC PATCH v1 4/4] numa: API to lookup NUMA node by address

2015-06-12 Thread Bharata B Rao
Introduce an API numa_get_node(ram_addr_t addr, Error **errp) that returns the NUMA node to which the given address belongs to. This API works uniformly for both boot time as well as hotplugged memory. This API is needed by sPAPR PowerPC to support ibm,dynamic-reconfiguration-memory device tree no