Skip to content
Commit 3184a995 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: nVMX: fix vmentry failure code when L2 state would require emulation

Commit 2bb8cafe

 ("KVM: vVMX: signal failure for nested VMEntry if
emulation_required", 2018-03-12) introduces a new error path which does
not set *entry_failure_code.  Fix that to avoid a leak of L0 stack to L1.

Reported-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e40ff1d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment