commit | bfbb307c628676929c2d329da0daf9d22afa8ad2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Nov 30 15:53:37 2021 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 02 04:12:11 2021 -0500 |
tree | 64a9d19d263134683ff753ff30d772090f0b67a7 | |
parent | ef8b4b7203682cc9adb37c8336d3f0f3b80bc382 [diff] |
KVM: VMX: Set failure code in prepare_vmcs02() The error paths in the prepare_vmcs02() function are supposed to set *entry_failure_code but this path does not. It leads to using an uninitialized variable in the caller. Fixes: 71f7347025bf ("KVM: nVMX: Load GUEST_IA32_PERF_GLOBAL_CTRL MSR on VM-Entry") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Message-Id: <20211130125337.GB24578@kili> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>