[PATCH v4 0/2] KVM: SVM: Make VMGEXIT GHCB exit codes more readable

From: Melody Wang
Date: Mon Dec 30 2024 - 15:37:10 EST


Hi all,

This patchset addresses all of review comments from Sean. All feedback is appreciated.

Thanks,
Melody

Changelog:
v3:

Here are two patches to make VMGEXIT GHCB exit codes more readable. All
feedback is appreciated.

Melody Wang (2):
KVM: SVM: Convert plain error code numbers to defines
KVM: SVM: Provide helpers to set the error code

arch/x86/include/asm/sev-common.h | 8 +++++++
arch/x86/kvm/svm/sev.c | 36 ++++++++++++++++---------------
arch/x86/kvm/svm/svm.c | 6 +-----
arch/x86/kvm/svm/svm.h | 29 +++++++++++++++++++++++++
4 files changed, 57 insertions(+), 22 deletions(-)

--
2.34.1