OpenCloudOS-Kernel/arch/x86/kvm/vmx
Dan Carpenter bfbb307c62 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: 71f7347025 ("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>
2021-12-02 04:12:11 -05:00
..
capabilities.h
evmcs.c
evmcs.h
nested.c KVM: VMX: Set failure code in prepare_vmcs02() 2021-12-02 04:12:11 -05:00
nested.h
pmu_intel.c kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to bool 2021-11-11 10:56:19 -05:00
posted_intr.c KVM: x86: Use a stable condition around all VT-d PI paths 2021-11-30 03:53:14 -05:00
posted_intr.h
sgx.c KVM: x86: SGX must obey the KVM_INTERNAL_ERROR_EMULATION protocol 2021-10-25 06:48:25 -04:00
sgx.h
vmcs.h
vmcs12.c
vmcs12.h
vmcs_shadow_fields.h
vmenter.S
vmx.c KVM: ensure APICv is considered inactive if there is no APIC 2021-12-02 04:12:11 -05:00
vmx.h KVM: nVMX: Use a gfn_to_hva_cache for vmptrld 2021-11-18 02:03:43 -05:00
vmx_ops.h