From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH 5/9] kvm-x86: Enable NMI Watchdog via in-kernel PIT source Date: Tue, 23 Sep 2008 17:04:48 +0200 Message-ID: <48D90590.6050705@siemens.com> References: <48D392F2.300@siemens.com> <48D394F6.6050606@siemens.com> <200809231410.33041.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm-devel , Avi Kivity To: "Yang, Sheng" Return-path: Received: from lizzard.sbs.de ([194.138.37.39]:20950 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbYIWPE4 (ORCPT ); Tue, 23 Sep 2008 11:04:56 -0400 In-Reply-To: <200809231410.33041.sheng.yang@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: 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? Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux