projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b0ce9
)
x86/HVM: fix xsm_op for 32-bit guests
author
Jan Beulich
<jbeulich@suse.com>
Mon, 11 Oct 2021 08:58:44 +0000
(10:58 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 11 Oct 2021 08:58:44 +0000
(10:58 +0200)
Like for PV, 32-bit guests need to invoke the compat handler, not the
native one.
Fixes: db984809d61b ("hvm: wire up domctl and xsm hypercalls")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hypercall.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/hypercall.c
b/xen/arch/x86/hvm/hypercall.c
index 261d8ee8a42b488f21e5329d21774389b0ee1559..122abf80de8da13f6cd44c13092f775aa4ff480e 100644
(file)
--- a/
xen/arch/x86/hvm/hypercall.c
+++ b/
xen/arch/x86/hvm/hypercall.c
@@
-138,7
+138,7
@@
static const struct {
HYPERCALL(event_channel_op),
COMPAT_CALL(sched_op),
COMPAT_CALL(set_timer_op),
-
HYPER
CALL(xsm_op),
+
COMPAT_
CALL(xsm_op),
HYPERCALL(hvm_op),
HYPERCALL(sysctl),
HYPERCALL(domctl),