[PATCH 0/2] KVM: SVM: Make VMGEXIT GHCB exit codes more readable
From: Melody Wang
Date: Fri Dec 06 2024 - 17:14:36 EST
Hi all,
Here are two patches to make VMGEXIT GHCB exit codes more readable. All
feedback is appreciated.
Thanks,
Melody
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 | 39 +++++++++++++++++--------------
arch/x86/kvm/svm/svm.c | 6 +----
arch/x86/kvm/svm/svm.h | 24 +++++++++++++++++++
4 files changed, 54 insertions(+), 23 deletions(-)
--
2.34.1