Skip to contentSkip to conversation

x86/vmx: Update __vmread()

PATCH Superseded [email protected] 1 participant 1 message Apr 26, 2025

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover x86/vmx: Update __vmread()

The patch series reworks __vmread() by introducing a new cleaner API.

Patch 1 introduces a new vmread() call which will be a replacement for __vmcall().
Patch 2 updates the type of arch_vcpu->dr7 field.
Patch 3 replaces __vmread() with vmread().

Link to v3: https://lore.kernel.org/xen-devel/[email protected]/
Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1787132005

Denis Mukhin (3):
x86/vmx: Introduce vmread()
x86/vmx: Update arch_vcpu->dr7 type
x86/vmx: Replace __vmread() with vmread()

 docs/misra/function-macro-properties.json |   9 -
 xen/arch/x86/cpu/vpmu_intel.c             |   3 +-
 xen/arch/x86/hvm/vmx/intr.c               |  26 +--
 xen/arch/x86/hvm/vmx/realmode.c           |   2 +-
 xen/arch/x86/hvm/vmx/vmcs.c               |  11 +-
 xen/arch/x86/hvm/vmx/vmx.c                | 210 ++++++++++------------
 xen/arch/x86/hvm/vmx/vvmx.c               |  43 ++---
 xen/arch/x86/include/asm/domain.h         |   2 +-
 xen/arch/x86/include/asm/hvm/vmx/vmx.h    |  19 +-
 9 files changed, 134 insertions(+), 191 deletions(-)
Signature · 1 line
2.34.1