With the "inversion" of VCPUOP handling, processing arch-specific ones
first, the forwarding of this sub-op from the (common) compat handler to
(common) non-compat one did no longer have the intended effect. It now
needs forwarding between the arch-specific handlers.
Fixes: 8a96c0ea7999 ("xen: move do_vcpu_op() to arch specific code")
Signed-off-by: Jan Beulich <[email protected]>
--- a/xen/arch/x86/x86_64/domain.c
+++ b/xen/arch/x86/x86_64/domain.c
@@ -58,6 +58,7 @@ compat_vcpu_op(int cmd, unsigned int vcp
break;
}
+ case VCPUOP_send_nmi:
case VCPUOP_get_physid:
rc = do_vcpu_op(cmd, vcpuid, arg);
break;
--- a/xen/common/compat/domain.c
+++ b/xen/common/compat/domain.c
@@ -99,7 +99,6 @@ int compat_common_vcpu_op(int cmd, struc
case VCPUOP_stop_periodic_timer:
case VCPUOP_stop_singleshot_timer:
case VCPUOP_register_vcpu_info:
- case VCPUOP_send_nmi:
rc = common_vcpu_op(cmd, v, arg);
break;