Re: [Qemu-devel] [PATCH 5/7] spapr: Add a helper for node0_size calculation

2014-06-16 Thread Nishanth Aravamudan
On 16.06.2014 [17:53:51 +1000], Alexey Kardashevskiy wrote: > In multiple places there is a node0_size variable calculation > which assumes that NUMA node #0 and memory node #0 are the same > things which they are not. Since we are going to change it and > do not want to change it in multiple place

[Qemu-devel] [PATCH 5/7] spapr: Add a helper for node0_size calculation

2014-06-16 Thread Alexey Kardashevskiy
In multiple places there is a node0_size variable calculation which assumes that NUMA node #0 and memory node #0 are the same things which they are not. Since we are going to change it and do not want to change it in multiple places, let's make a helper. This adds a spapr_node0_size() helper and m