KVM: VMX: Use vmread_error() to report VM-Fail in "goto" path
authorSean Christopherson <seanjc@google.com>
Fri, 21 Jul 2023 23:56:37 +0000 (16:56 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 29 Jul 2023 15:05:26 +0000 (11:05 -0400)
commita062dad7ec4b91473e2e82c4e03cbee953189a87
tree53b9970bb4737f4078f01ce50210fcb77f6c0cc6
parentc20d403fd04c20959b7e6669868372f433947e5f
KVM: VMX: Use vmread_error() to report VM-Fail in "goto" path

Use vmread_error() to report VM-Fail on VMREAD for the "asm goto" case,
now that trampoline case has yet another wrapper around vmread_error() to
play nice with instrumentation.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230721235637.2345403-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx_ops.h