public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linus:master] [KVM]  92e7d5c83a: kernel-selftests.kvm.triple_fault_event_test.fail
       [not found] <202212032146.b0347c81-oliver.sang@intel.com>
@ 2022-12-05 17:32 ` Sean Christopherson
  0 siblings, 0 replies; only message in thread
From: Sean Christopherson @ 2022-12-05 17:32 UTC (permalink / raw)
  To: kernel test robot
  Cc: Maxim Levitsky, oe-lkp, lkp, Paolo Bonzini, linux-kernel, kvm,
	xudong.hao

On Sat, Dec 03, 2022, kernel test robot wrote:
> 
> Greeting,
> 
> FYI, we noticed kernel-selftests.kvm.triple_fault_event_test.fail due to commit (built with gcc-11):
> 
> commit: 92e7d5c83aff124f49082585e57939ed24b59c5c ("KVM: x86: allow L1 to not intercept triple fault")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

Should already be fixed.  Thanks!

commit df0bb47baa95aad133820b149851d5b94cbc6790
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Wed Nov 30 11:14:35 2022 -0500

    KVM: x86: fix uninitialized variable use on KVM_REQ_TRIPLE_FAULT
    
    If a triple fault was fixed by kvm_x86_ops.nested_ops->triple_fault (by
    turning it into a vmexit), there is no need to leave vcpu_enter_guest().
    Any vcpu->requests will be caught later before the actual vmentry,
    and in fact vcpu_enter_guest() was not initializing the "r" variable.
    Depending on the compiler's whims, this could cause the
    x86_64/triple_fault_event_test test to fail.
    
    Cc: Maxim Levitsky <mlevitsk@redhat.com>
    Fixes: 92e7d5c83aff ("KVM: x86: allow L1 to not intercept triple fault")
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-05 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <202212032146.b0347c81-oliver.sang@intel.com>
2022-12-05 17:32 ` [linus:master] [KVM] 92e7d5c83a: kernel-selftests.kvm.triple_fault_event_test.fail Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox