Hi,
v1:
https://lore.kernel.org/xen-devel/[email protected]/
v2:
https://lore.kernel.org/xen-devel/[email protected]/
pipeline (green):
https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/2324131649
This time the policy check uses e{b,c,d}x rather than x86_vendor and there's
2 unit tests for it.
Cheers,
Alejandro
Alejandro Vallejo (4):
x86: Reject CPU policies with vendors other than the host's
x86/hvm: Disable cross-vendor handling in #UD handler
x86/hvm: Remove cross-vendor checks from MSR handlers.
x86/svm: Drop emulation of Intel's SYSENTER behaviour on AMD systems
CHANGELOG.md | 5 ++
tools/tests/cpu-policy/test-cpu-policy.c | 27 +++++++++
xen/arch/x86/hvm/hvm.c | 77 +++++++++---------------
xen/arch/x86/hvm/svm/svm.c | 45 ++++++--------
xen/arch/x86/hvm/svm/vmcb.c | 3 +
xen/arch/x86/hvm/vmx/vmx.c | 3 +-
xen/arch/x86/include/asm/hvm/svm-types.h | 10 ---
xen/arch/x86/msr.c | 8 +--
xen/lib/x86/policy.c | 5 +-
9 files changed, 93 insertions(+), 90 deletions(-)
base-commit: 1f4f85b64d393be1aa8dc8170201f4fbfe9c7222
--
2.43.0