Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-10 Thread Tim Deegan
At 09:55 +0100 on 10 Aug (1439200516), Andrew Cooper wrote: > On 10/08/2015 09:52, Tim Deegan wrote: > >> Whie I agree that it would be good to account this to the domain, > >> paging->alloc_page() is an internal _paging assistance_ helper. :) > >> This new allocation is nothing to do with mm/pagin

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-10 Thread Andrew Cooper
On 10/08/2015 09:52, Tim Deegan wrote: > At 09:50 +0100 on 10 Aug (1439200241), Tim Deegan wrote: >> Hi, >> >> At 10:57 +0100 on 07 Aug (1438945038), Ben Catterall wrote: >>> On 06/08/15 20:22, Andrew Cooper wrote: On 06/08/15 17:45, Ben Catterall wrote: > This allocation function is used

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-10 Thread Tim Deegan
At 09:50 +0100 on 10 Aug (1439200241), Tim Deegan wrote: > Hi, > > At 10:57 +0100 on 07 Aug (1438945038), Ben Catterall wrote: > > On 06/08/15 20:22, Andrew Cooper wrote: > > > On 06/08/15 17:45, Ben Catterall wrote: > > >> This allocation function is used by the deprivileged mode initialisation

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-10 Thread Tim Deegan
Hi, At 10:57 +0100 on 07 Aug (1438945038), Ben Catterall wrote: > On 06/08/15 20:22, Andrew Cooper wrote: > > On 06/08/15 17:45, Ben Catterall wrote: > >> This allocation function is used by the deprivileged mode initialisation > >> code > >> to allocate pages for the new page table mappings and

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-07 Thread Andrew Cooper
On 07/08/15 10:57, Ben Catterall wrote: > On 06/08/15 20:22, Andrew Cooper wrote: >> On 06/08/15 17:45, Ben Catterall wrote: >>> This allocation function is used by the deprivileged mode >>> initialisation code >>> to allocate pages for the new page table mappings and page frames on >>> the HAP >>>

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-07 Thread Ben Catterall
On 06/08/15 20:22, Andrew Cooper wrote: On 06/08/15 17:45, Ben Catterall wrote: This allocation function is used by the deprivileged mode initialisation code to allocate pages for the new page table mappings and page frames on the HAP page heap. Signed-off-by: Ben Catterall This is fine for y

Re: [Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-06 Thread Andrew Cooper
On 06/08/15 17:45, Ben Catterall wrote: > This allocation function is used by the deprivileged mode initialisation code > to allocate pages for the new page table mappings and page frames on the HAP > page heap. > > Signed-off-by: Ben Catterall This is fine for your test box, but isn't fine for s

[Xen-devel] [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper

2015-08-06 Thread Ben Catterall
This allocation function is used by the deprivileged mode initialisation code to allocate pages for the new page table mappings and page frames on the HAP page heap. Signed-off-by: Ben Catterall --- xen/arch/x86/mm/hap/hap.c| 23 +++ xen/include/asm-x86/domain.h | 1 + x