On Tue, May 10, 2022, Jim Mattson wrote: > From: David Matlack <dmatlack@xxxxxxxxxx> > > Include the value of the "VM-instruction error" field from the current > VMCS (if any) in the error message for VMCLEAR and VMPTRLD, since each > of these instructions may result in more than one VM-instruction > error. Previously, this field was only reported for VMWRITE errors. > > Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> > [Rebased and refactored code; dropped the error number for INVVPID and > INVEPT; reworded commit message.] > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > --- I do think it'd be worthwhile to add the safe VMREAD variant, but I don't care enough to hold this up. Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>