x86/HVM: fix xsm_op for 32-bit guests
authorJan Beulich <jbeulich@suse.com>
Mon, 11 Oct 2021 08:58:44 +0000 (10:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Oct 2021 08:58:44 +0000 (10:58 +0200)
commitb6b672e8a925ff4b71a1a67bc7d213ef445af74f
tree8dd1619a4c8ca83ed6cf80c764a00fd28d9b8e88
parent24b0ce9a5da2e648cde818055a085bcbcf24ecb0
x86/HVM: fix xsm_op for 32-bit guests

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