Nothing in do_kexec_op() is PV specific. Plumb in PVH guests too.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <jbeulich@suse.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Teddy Astie <teddy.astie@vates.tech>
kexec-tools in userspace still has a PV check needing dropping before kexec is
generally usable for PVH dom0's, but the Xen side should be all fine.
Bloat-o-meter reports:
Function old new delta
hvm_hypercall 2118 2309 +191
hvm_do_multicall_call 1366 1411 +45
Total: Before=4226938, After=4227174, chg +0.01%
which reinforces my hatred of this entire infrastructure.
---
xen/include/hypercall-defs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/include/hypercall-defs.c b/xen/include/hypercall-defs.c
index a625d634b694..79ee72993dfd 100644
--- a/xen/include/hypercall-defs.c
+++ b/xen/include/hypercall-defs.c
@@ -280,7 +280,7 @@ sysctl do do do do do
domctl do do do do do
#endif
#ifdef CONFIG_KEXEC
-kexec_op compat do - - -
+kexec_op compat do compat do -
#endif
tmem_op - - - - -
#ifdef CONFIG_ARGO
base-commit: 50e7b8a32dcb1360dbe9e0fa8b81a3ad02d0b670
--
2.39.5