From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: Re: [PATCH 5/9] kvm-x86: Enable NMI Watchdog via in-kernel PIT source Date: Wed, 24 Sep 2008 18:18:17 +0800 Message-ID: <200809241818.17708.sheng.yang@intel.com> References: <48D392F2.300@siemens.com> <200809231410.33041.sheng.yang@intel.com> <48D90590.6050705@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: "kvm-devel" , Avi Kivity To: Jan Kiszka Return-path: Received: from mga11.intel.com ([192.55.52.93]:51251 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751888AbYIXKRl (ORCPT ); Wed, 24 Sep 2008 06:17:41 -0400 In-Reply-To: <48D90590.6050705@siemens.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Tuesday 23 September 2008 23:04:48 Jan Kiszka wrote: > Yang, Sheng wrote: > > On Friday 19 September 2008 20:03:02 Jan Kiszka wrote: > >> LINT0 of the LAPIC can be used to route PIT events as NMI watchdog > >> ticks into the guest. This patch aligns the in-kernel irqchip emulation > >> with the user space irqchip with already supports this feature. The > >> trick is to route PIT interrupts to all LAPIC's LVT0 lines. > >> > >> Rebased patch and slightly polished patch originally posted by Sheng > >> Yang. > > > > Signed-off-by: Sheng Yang > > > > Thanks for pick up this patch again! > > > > Have you test some Windows guest with this watchdog? Last time I dropped > > it because it cause BSOD on some version of > > Windows(IRQ_NOT_EQUAL_OR_LESS). I don't remember the exactly situation > > there, but you may have a try. > > Not yet. I always tell my colleagues that I don't need Windows on my > desktop, I just need a few VM images - for testing... :) > > I will try to dig out / generate some image and reproduce the issue you > and Gleb see. Hope it will trigger here as well. Anything special > required to make Windows use the NMI as watchdog? > I don't know if Windows use NMI watchdog. In fact, my original patch just cause Windows BSOD, and I think Windows don't use it(Linux NMI watchdog mechanism is a little tricky one)... -- regards Yang, Sheng