Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-19 Thread Jan Beulich
>>> On 16.01.15 at 18:17, wrote: > On 01/16/2015 12:24 AM, Jan Beulich wrote: > On 15.01.15 at 22:00, wrote: >>> On 01/15/2015 09:33 AM, Tim Deegan wrote: Hi, Sorry for the fractured replies - my notes are confused about which functions were defined where. At 13:

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-16 Thread Tim Deegan
At 13:00 -0800 on 15 Jan (1421323248), Ed White wrote: > On 01/15/2015 09:33 AM, Tim Deegan wrote: > > Hi, > > > > Sorry for the fractured replies - my notes are confused about which > > functions were defined where. > > > > At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: > >> +bool_t p2m_

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-16 Thread Tim Deegan
At 12:57 -0800 on 15 Jan (1421323048), Ed White wrote: > On 01/15/2015 09:25 AM, Tim Deegan wrote: > > Hi, > > > > At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: > >> +int > >> +altp2mhvm_hap_nested_page_fault(struct vcpu *v, paddr_t gpa, > >> +unsigned long

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-16 Thread Ed White
On 01/16/2015 12:24 AM, Jan Beulich wrote: On 15.01.15 at 22:00, wrote: >> On 01/15/2015 09:33 AM, Tim Deegan wrote: >>> Hi, >>> >>> Sorry for the fractured replies - my notes are confused about which >>> functions were defined where. >>> >>> At 13:26 -0800 on 09 Jan (1420806398), Ed White wr

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-16 Thread Jan Beulich
>>> On 15.01.15 at 22:00, wrote: > On 01/15/2015 09:33 AM, Tim Deegan wrote: >> Hi, >> >> Sorry for the fractured replies - my notes are confused about which >> functions were defined where. >> >> At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: >>> +bool_t p2m_change_altp2m_pfn(struct dom

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-15 Thread Ed White
On 01/15/2015 09:33 AM, Tim Deegan wrote: > Hi, > > Sorry for the fractured replies - my notes are confused about which > functions were defined where. > > At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: >> +bool_t p2m_change_altp2m_pfn(struct domain *d, uint16_t idx, >> +

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-15 Thread Ed White
On 01/15/2015 09:25 AM, Tim Deegan wrote: > Hi, > > At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: >> +int >> +altp2mhvm_hap_nested_page_fault(struct vcpu *v, paddr_t gpa, >> +unsigned long gla, struct npfec npfec) >> +{ >> +struct domain *d = v->domain;

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-15 Thread Tim Deegan
Hi, Sorry for the fractured replies - my notes are confused about which functions were defined where. At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: > +bool_t p2m_change_altp2m_pfn(struct domain *d, uint16_t idx, > + unsigned long old_pfn, unsigned long new_pfn

Re: [Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-15 Thread Tim Deegan
Hi, At 13:26 -0800 on 09 Jan (1420806398), Ed White wrote: > +int > +altp2mhvm_hap_nested_page_fault(struct vcpu *v, paddr_t gpa, > +unsigned long gla, struct npfec npfec) > +{ > +struct domain *d = v->domain; > +struct p2m_domain *hp2m = p2m_get_hostp2m(d);

[Xen-devel] [PATCH 08/11] x86/altp2m: add remaining support routines.

2015-01-09 Thread Ed White
Add the remaining routines required to support enabling the alternate p2m functionality. Signed-off-by: Ed White --- xen/arch/x86/hvm/hvm.c | 12 ++ xen/arch/x86/mm/hap/altp2m_hap.c| 76 xen/arch/x86/mm/p2m.c | 339 x