Re: [PATCH 1/2] KVM: SVM: Convert plain error code numbers to defines
From: Sean Christopherson
Date: Tue Dec 17 2024 - 17:43:43 EST
On Tue, Dec 17, 2024, PavanKumar Paluri wrote:
> >> +#define GHCB_HV_RESP_ISSUE_EXCEPTION 1
> >> +#define GHCB_HV_RESP_MALFORMED_INPUT 2
> >
> > Where is '2' actually documented? I looked all over the GHCB and the only ones
> > I can find are '0' and '1'.
> >
> > 0x0000
> > o No action requested by the hypervisor.
> > 0x0001
> > o The hypervisor has requested an exception be issued
> >
>
> GHCB spec (Pub# 56421, Rev:2.03), section 4.1 Invoking VMGEXIT documents
Ah, I only had Rev 2.00. Found it in 2.03.
Thanks!
> 0x0002 as well.
>
> 0x0002
> o The hypervisor encountered malformed input for the VMGEXIT.