Re: [Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Wei Liu
On Tue, Aug 07, 2018 at 10:18:36AM -0600, Jan Beulich wrote: > >>> On 07.08.18 at 18:08, wrote: > > On Tue, Aug 07, 2018 at 04:44:13AM -0600, Jan Beulich wrote: > >> >>> On 07.08.18 at 12:00, wrote: > >> > --- a/xen/arch/x86/x86_64/traps.c > >> > +++ b/xen/arch/x86/x86_64/traps.c > >> > @@

Re: [Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Jan Beulich
>>> On 07.08.18 at 18:08, wrote: > On Tue, Aug 07, 2018 at 04:44:13AM -0600, Jan Beulich wrote: >> >>> On 07.08.18 at 12:00, wrote: >> > --- a/xen/arch/x86/x86_64/traps.c >> > +++ b/xen/arch/x86/x86_64/traps.c >> > @@ -352,12 +352,19 @@ void subarch_percpu_traps_init(void) >> > void

Re: [Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Wei Liu
On Tue, Aug 07, 2018 at 04:44:13AM -0600, Jan Beulich wrote: > >>> On 07.08.18 at 12:00, wrote: > > --- a/xen/arch/x86/x86_64/traps.c > > +++ b/xen/arch/x86/x86_64/traps.c > > @@ -352,12 +352,19 @@ void subarch_percpu_traps_init(void) > > void hypercall_page_initialise(struct domain *d, void

Re: [Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Andrew Cooper
On 07/08/18 11:44, Jan Beulich wrote: On 07.08.18 at 12:00, wrote: >> --- a/xen/arch/x86/x86_64/traps.c >> +++ b/xen/arch/x86/x86_64/traps.c >> @@ -352,12 +352,19 @@ void subarch_percpu_traps_init(void) >> void hypercall_page_initialise(struct domain *d, void *hypercall_page) >> { >>

Re: [Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Jan Beulich
>>> On 07.08.18 at 12:00, wrote: > --- a/xen/arch/x86/x86_64/traps.c > +++ b/xen/arch/x86/x86_64/traps.c > @@ -352,12 +352,19 @@ void subarch_percpu_traps_init(void) > void hypercall_page_initialise(struct domain *d, void *hypercall_page) > { > memset(hypercall_page, 0xCC, PAGE_SIZE); >

[Xen-devel] [PATCH 3/9] x86: enclose hypercall page initialisation code in CONFIG_{HVM, PV}

2018-08-07 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/x86/x86_64/traps.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/x86_64/traps.c b/xen/arch/x86/x86_64/traps.c index ed02b78..87d5816 100644 --- a/xen/arch/x86/x86_64/traps.c +++ b/xen/arch/x86/x86_64/traps.c