aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2018-03-21 14:20:18 +0100
committerPaolo Bonzini <[email protected]>2018-03-21 14:20:33 +0100
commit3184a995f782c6fdab89e62d31cf7be042582bd0 (patch)
tree7a7bd1a3e1b06033a736a21e75e6d3160813bd56 /arch/x86/kvm/svm.c
parente40ff1d6608dd9a5e07d7bc3079c64d9d676fe15 (diff)
KVM: nVMX: fix vmentry failure code when L2 state would require emulation
Commit 2bb8cafea80b ("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: Radim Krčmář <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions