From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH v2] KVM: x86: Inject pending interrupt even if pending nmi exist Date: Wed, 23 Mar 2016 22:55:06 +0100 Message-ID: <20160323215506.GA21516@potion.brq.redhat.com> References: <7CC7D3013F4B10479273CE019E6A8C7A3ED90C@BPXM15GP.gisp.nec.co.jp> <56F297A7.1030309@redhat.com> <20160323172159.GA22164@potion.brq.redhat.com> <56F2DEDD.5060600@redhat.com> <20160323190406.GB22164@potion.brq.redhat.com> <56F3040B.8070006@redhat.com> <56F3055C.8090004@siemens.com> <56F30664.8050006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kiszka , Yuki Shibuya , "kvm@vger.kernel.org" , Nobuo Yoshida To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50295 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753509AbcCWVzK (ORCPT ); Wed, 23 Mar 2016 17:55:10 -0400 Content-Disposition: inline In-Reply-To: <56F30664.8050006@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2016-03-23 22:11+0100, Paolo Bonzini: > On 23/03/2016 22:06, Jan Kiszka wrote: >> > There is also at least one case where you could have one pending (but >> > not injected) and one latched NMI at instruction boundary, and that is >> > the special NMI shadow from the STI instruction. >> >> This sounds to me like we should try to address the issue Yuki is seeing >> without playing with the nmi_pending counter. I agree, the discussion was mostly offtopic, sorry. > Yes, it would be nice if my suggestion worked. :) And if not, we'll at least learn what 2.6.32 is doing. :)