Re: [Xen-devel] [PATCH v2 3/4] libxc: rework vnuma bits in setup_guest

2015-05-29 Thread Wei Liu
On Fri, May 29, 2015 at 11:02:16AM -0400, Boris Ostrovsky wrote: > On 05/29/2015 07:37 AM, Wei Liu wrote: > >Make the setup process similar to PV counterpart. That is, to allocate a > >P2M array that covers the whole memory range and start from there. This > >is clearer than using an array with no

Re: [Xen-devel] [PATCH v2 3/4] libxc: rework vnuma bits in setup_guest

2015-05-29 Thread Boris Ostrovsky
On 05/29/2015 07:37 AM, Wei Liu wrote: Make the setup process similar to PV counterpart. That is, to allocate a P2M array that covers the whole memory range and start from there. This is clearer than using an array with no holes in it. Also the dummy layout should take MMIO hole into considerati

[Xen-devel] [PATCH v2 3/4] libxc: rework vnuma bits in setup_guest

2015-05-29 Thread Wei Liu
Make the setup process similar to PV counterpart. That is, to allocate a P2M array that covers the whole memory range and start from there. This is clearer than using an array with no holes in it. Also the dummy layout should take MMIO hole into consideration. We might end up having two vmemranges