Discussion:
[Xen-changelog] [xen master] x86: provide stub for arch_do_multicall_call
p***@xen.org
2018-11-04 04:58:17 UTC
Permalink
commit d1b7c32e73ef71cf3f62a8bf9a48c2ed54b536f3
Author: Wei Liu <***@citrix.com>
AuthorDate: Thu Oct 4 16:43:25 2018 +0100
Commit: Wei Liu <***@citrix.com>
CommitDate: Mon Oct 15 15:32:42 2018 +0100

x86: provide stub for arch_do_multicall_call

This hypercall is PV only on x86. Provide a stub for it when
!CONFIG_PV.

Signed-off-by: Wei Liu <***@citrix.com>
Acked-by: Jan Beulich <***@suse.com>
---
xen/arch/x86/hypercall.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/xen/arch/x86/hypercall.c b/xen/arch/x86/hypercall.c
index 74bde5e958..032de8f8f8 100644
--- a/xen/arch/x86/hypercall.c
+++ b/xen/arch/x86/hypercall.c
@@ -248,6 +248,14 @@ int hypercall_xlat_continuation(unsigned int *id, unsigned int nr,
return rc;
}

+#ifndef CONFIG_PV
+/* Stub for arch_do_multicall_call */
+enum mc_disposition arch_do_multicall_call(struct mc_state *mc)
+{
+ return mc_exit;
+}
+#endif
+
/*
* Local variables:
* mode: C
--
generated by git-patchbot for /home/xen/git/xen.git#master

Loading...