mbox series

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

Message ID 20241206221257.7167-1-huibo.wang@amd.com (mailing list archive)
Headers show
Series KVM: SVM: Make VMGEXIT GHCB exit codes more readable | expand

Message

Melody Wang Dec. 6, 2024, 10:12 p.m. UTC
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(-)

Comments

Sean Christopherson Dec. 17, 2024, 12:29 a.m. UTC | #1
On Fri, Dec 06, 2024, Melody Wang wrote:
> 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

When adding patches to a series, please treat the "new" series as a continuation
of the previous series, and follow all of the normal "rules" for documenting the
delta between versions.  I.e. this should be v3, since patch 1 was posted as v2.

https://lore.kernel.org/all/20241202214032.350109-1-huibo.wang@amd.com

>   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
>