From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [Qemu-devel] E5-2620v2 - emulation stop error Date: Wed, 1 Apr 2015 13:49:23 +0200 Message-ID: <20150401114923.GH13271@potion.brq.redhat.com> References: <20150330185634.GE13271@potion.brq.redhat.com> <20150331134512.GG13271@potion.brq.redhat.com> <20150331164539.GD14262@potion.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bandan Das , "Kevin O'Connor" , "Dr. David Alan Gilbert" , Paolo Bonzini , Gerd Hoffmann , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" To: Andrey Korolyov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49967 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373AbbDALta (ORCPT ); Wed, 1 Apr 2015 07:49:30 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 2015-03-31 21:23+0300, Andrey Korolyov: > On Tue, Mar 31, 2015 at 9:04 PM, Bandan Das wrote: > > Bandan Das writes: > >> Andrey Korolyov writes: > >> ... > >>> http://xdel.ru/downloads/kvm-e5v2-issue/another-tracepoint-fail-with-apicv.dat.gz > >>> > >>> Something a bit more interesting, but the mess is happening just > >>> *after* NMI firing. > >> > >> What happens if NMI is turned off on the host ? > > > > Sorry, I meant the watchdog.. > > Thanks, everything goes well (as it probably should go there): > http://xdel.ru/downloads/kvm-e5v2-issue/apicv-enabled-nmi-disabled.dat.gz Nice revelation! KVM doesn't expect host's NMIs to look like this so it doesn't pass them to the host. What was the watchdog that casually sent NMIs? (It worked after "nmi_watchdog=0" on the host?) (Guest's NMI should have a different result as well. NMI_EXCEPTION is an expected exit reason for guest's hard exceptions, they are then differentiated by intr_info and nothing hinted that this was a NMI.)