xen/guest: prepare hypervisor ops to use alternative calls
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 2 Mar 2020 14:37:35 +0000 (15:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Mar 2020 14:37:35 +0000 (15:37 +0100)
commita0e1af54ce7492fb267daa46120fc18f814ad4d1
treed07b51fb1f30ba4d056c05c6b9d681bbbb7a8b5a
parent188f479de4b77e5493a7df258974a0a9d119fb0c
xen/guest: prepare hypervisor ops to use alternative calls

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é <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/guest/hyperv/hyperv.c
xen/arch/x86/guest/hypervisor.c
xen/arch/x86/guest/xen/xen.c