From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RESEND][PATCH] KVM: VMX: Report VNMI emulation Date: Sun, 26 Oct 2008 16:21:00 +0200 Message-ID: <49047CCC.1030301@redhat.com> References: <4900349A.5020708@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-devel , Gleb Natapov , "Yang, Sheng" To: Jan Kiszka Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57874 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753878AbYJZOVJ (ORCPT ); Sun, 26 Oct 2008 10:21:09 -0400 In-Reply-To: <4900349A.5020708@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > In case we ever have to debug possibly NMI-related issues of the guest, > it may help to correlate them with the VNMI emulation for older VMX > CPUs. > > Signed-off-by: Jan Kiszka > --- > arch/x86/kvm/vmx.c | 4 ++++ > 1 file changed, 4 insertions(+) > > Index: b/arch/x86/kvm/vmx.c > =================================================================== > --- a/arch/x86/kvm/vmx.c > +++ b/arch/x86/kvm/vmx.c > @@ -3671,6 +3671,10 @@ static int __init vmx_init(void) > > ept_sync_global(); > > + if (!cpu_has_virtual_nmis()) > + printk(KERN_WARNING > + "kvm: emulating NMI window via interrupt window\n"); > + > > This is best done via /proc/cpuinfo... (vnmi or vmx_vnmi) what's the status on those patches? -- error compiling committee.c: too many arguments to function