Re: [Xen-devel] [PATCH v5 6/7] xen/guest: prepare hypervisor ops to use alternative calls

2020-03-02 Thread Roger Pau Monné
On Mon, Mar 02, 2020 at 11:43:14AM +0100, Jan Beulich wrote: > On 28.02.2020 17:52, Roger Pau Monné wrote: > > On Fri, Feb 28, 2020 at 05:29:32PM +0100, Jan Beulich wrote: > >> On 19.02.2020 18:43, Roger Pau Monne wrote: > >>> --- a/xen/arch/x86/guest/hyperv/hyperv.c > >>> +++ b/xen/arch/x86/guest/

Re: [Xen-devel] [PATCH v5 6/7] xen/guest: prepare hypervisor ops to use alternative calls

2020-03-02 Thread Jan Beulich
On 28.02.2020 17:52, Roger Pau Monné wrote: > On Fri, Feb 28, 2020 at 05:29:32PM +0100, Jan Beulich wrote: >> On 19.02.2020 18:43, Roger Pau Monne wrote: >>> --- a/xen/arch/x86/guest/hyperv/hyperv.c >>> +++ b/xen/arch/x86/guest/hyperv/hyperv.c >>> @@ -199,7 +199,7 @@ static void __init e820_fixup(s

Re: [Xen-devel] [PATCH v5 6/7] xen/guest: prepare hypervisor ops to use alternative calls

2020-02-28 Thread Roger Pau Monné
On Fri, Feb 28, 2020 at 05:29:32PM +0100, Jan Beulich wrote: > On 19.02.2020 18:43, Roger Pau Monne wrote: > > --- a/xen/arch/x86/guest/hyperv/hyperv.c > > +++ b/xen/arch/x86/guest/hyperv/hyperv.c > > @@ -199,7 +199,7 @@ static void __init e820_fixup(struct e820map *e820) > > panic("Unable

Re: [Xen-devel] [PATCH v5 6/7] xen/guest: prepare hypervisor ops to use alternative calls

2020-02-28 Thread Jan Beulich
On 19.02.2020 18:43, Roger Pau Monne wrote: > --- a/xen/arch/x86/guest/hyperv/hyperv.c > +++ b/xen/arch/x86/guest/hyperv/hyperv.c > @@ -199,7 +199,7 @@ static void __init e820_fixup(struct e820map *e820) > panic("Unable to reserve Hyper-V hypercall range\n"); > } > > -static const struc

[Xen-devel] [PATCH v5 6/7] xen/guest: prepare hypervisor ops to use alternative calls

2020-02-19 Thread Roger Pau Monne
Adapt the hypervisor ops framework so it can be used with the alternative calls framework. So far no hooks are modified to make use of the alternatives patching, as they are not in any hot path. No functional change intended. Signed-off-by: Roger Pau Monné Reviewed-by: Wei Liu Reviewed-by: Paul