Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Juergen Gross
On 12/11/15 12:32, Wei Liu wrote: > On Thu, Nov 12, 2015 at 12:29:06PM +0100, Juergen Gross wrote: >> On 12/11/15 12:20, Ian Campbell wrote: >>> On Thu, 2015-11-12 at 11:14 +, Wei Liu wrote: On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > Guest memory allocation in the

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Wei Liu
On Thu, Nov 12, 2015 at 12:29:06PM +0100, Juergen Gross wrote: > On 12/11/15 12:20, Ian Campbell wrote: > > On Thu, 2015-11-12 at 11:14 +, Wei Liu wrote: > >> On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > >>> Guest memory allocation in the domain builder of libxc is done via

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Juergen Gross
On 12/11/15 12:20, Ian Campbell wrote: > On Thu, 2015-11-12 at 11:14 +, Wei Liu wrote: >> On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: >>> Guest memory allocation in the domain builder of libxc is done via >>> virtual addresses only. In order to be able to support preallocated

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Wei Liu
On Thu, Nov 12, 2015 at 12:21:24PM +0100, Juergen Gross wrote: > On 12/11/15 12:14, Wei Liu wrote: > > On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > >> Guest memory allocation in the domain builder of libxc is done via > >> virtual addresses only. In order to be able to support p

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Wei Liu
On Thu, Nov 12, 2015 at 11:20:47AM +, Ian Campbell wrote: > On Thu, 2015-11-12 at 11:14 +, Wei Liu wrote: > > On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > > > Guest memory allocation in the domain builder of libxc is done via > > > virtual addresses only. In order to be

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Ian Campbell
On Thu, 2015-11-12 at 11:14 +, Wei Liu wrote: > On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > > Guest memory allocation in the domain builder of libxc is done via > > virtual addresses only. In order to be able to support preallocated > > areas not virtually mapped reorganize

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Juergen Gross
On 12/11/15 12:14, Wei Liu wrote: > On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: >> Guest memory allocation in the domain builder of libxc is done via >> virtual addresses only. In order to be able to support preallocated >> areas not virtually mapped reorganize the memory allocat

Re: [Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-12 Thread Wei Liu
On Thu, Nov 05, 2015 at 03:36:27PM +0100, Juergen Gross wrote: > Guest memory allocation in the domain builder of libxc is done via > virtual addresses only. In order to be able to support preallocated > areas not virtually mapped reorganize the memory allocator to keep > track of allocated pages g

[Xen-devel] [PATCH v4 1/9] libxc: reorganize domain builder guest memory allocator

2015-11-05 Thread Juergen Gross
Guest memory allocation in the domain builder of libxc is done via virtual addresses only. In order to be able to support preallocated areas not virtually mapped reorganize the memory allocator to keep track of allocated pages globally and in allocated segments. This requires an interface change o