lkml.org 
[lkml]   [2020]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] KVM: x86: avoid using stale x86_emulate_ctxt->intercept value
Date
After commit 07721feee46b ("KVM: nVMX: Don't emulate instructions in guest
mode") Hyper-V guests on KVM stopped booting and tracing shows that we're
trying to emulate an instruction which shouldn't be intercepted. Turns out,
x86_emulate_ctxt may hold a stale 'intercept' value.

This is a regression in 5.6-rc4 and I'm marking PATCH1 for stable@. The
commit 07721feee46b ("KVM: nVMX: Don't emulate instructions in guest mode")
is, however, correct, it just seems to reveal a pre-existing condition.

Vitaly Kuznetsov (2):
KVM: x86: clear stale x86_emulate_ctxt->intercept value
KVM: x86: remove stale comment from struct x86_emulate_ctxt

arch/x86/include/asm/kvm_emulate.h | 1 -
arch/x86/kvm/emulate.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)

--
2.24.1

\
 
 \ /
  Last update: 2020-03-03 15:34    [W:0.053 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site