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

Melody Wang posted 2 patches 1 year ago
There is a newer version of this series
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(-)
[PATCH 0/2] KVM: SVM: Make VMGEXIT GHCB exit codes more readable
Posted by Melody Wang 1 year ago
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
Re: [PATCH 0/2] KVM: SVM: Make VMGEXIT GHCB exit codes more readable
Posted by Sean Christopherson 1 year ago
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
>