Re: [Xen-devel] [PATCH V2 2/2] x86/mm: Make use of the default access param from xc_altp2m_create_view

2019-11-19 Thread Tamas K Lengyel
On Mon, Nov 18, 2019 at 2:53 AM Jan Beulich wrote: > > On 18.11.2019 09:38, Alexandru Stefan ISAILA wrote: > > On 12.11.2019 14:02, Jan Beulich wrote: > >> On 06.11.2019 16:35, Alexandru Stefan ISAILA wrote: > >>> @@ -2572,17 +2574,36 @@ int p2m_init_altp2m_by_id(struct domain *d, > >>> unsigned

Re: [Xen-devel] [PATCH V2 2/2] x86/mm: Make use of the default access param from xc_altp2m_create_view

2019-11-18 Thread Jan Beulich
On 18.11.2019 09:38, Alexandru Stefan ISAILA wrote: > On 12.11.2019 14:02, Jan Beulich wrote: >> On 06.11.2019 16:35, Alexandru Stefan ISAILA wrote: >>> @@ -2572,17 +2574,36 @@ int p2m_init_altp2m_by_id(struct domain *d, >>> unsigned int idx) >>> altp2m_list_lock(d); >>> >>> if ( d-

Re: [Xen-devel] [PATCH V2 2/2] x86/mm: Make use of the default access param from xc_altp2m_create_view

2019-11-18 Thread Alexandru Stefan ISAILA
On 12.11.2019 14:02, Jan Beulich wrote: > On 06.11.2019 16:35, Alexandru Stefan ISAILA wrote: >> --- a/xen/arch/x86/mm/p2m-ept.c >> +++ b/xen/arch/x86/mm/p2m-ept.c >> @@ -1345,13 +1345,14 @@ void setup_ept_dump(void) >> register_keyhandler('D', ept_dump_p2m_table, "dump VT-x EPT tables", >

Re: [Xen-devel] [PATCH V2 2/2] x86/mm: Make use of the default access param from xc_altp2m_create_view

2019-11-12 Thread Jan Beulich
On 06.11.2019 16:35, Alexandru Stefan ISAILA wrote: > --- a/xen/arch/x86/mm/p2m-ept.c > +++ b/xen/arch/x86/mm/p2m-ept.c > @@ -1345,13 +1345,14 @@ void setup_ept_dump(void) > register_keyhandler('D', ept_dump_p2m_table, "dump VT-x EPT tables", 0); > } > > -void p2m_init_altp2m_ept(struct dom

[Xen-devel] [PATCH V2 2/2] x86/mm: Make use of the default access param from xc_altp2m_create_view

2019-11-06 Thread Alexandru Stefan ISAILA
At this moment the default_access param from xc_altp2m_create_view is not used. This patch assigns default_access to p2m->default_access at the time of initializing a new altp2m view. Signed-off-by: Alexandru Isaila Reviewed-by: Tamas K Lengyel Acked-by: George Dunlap --- xen/arch/x86/hvm/hvm