From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: Re: [PATCH 1/1] Disable GUEST_INTR_STATE_STI flag before injecting NMI to guest on VMX Date: Fri, 27 Aug 2010 11:56:26 +0200 Message-ID: <4C778BCA.1000106@redhat.com> References: <1282853162-16925-1-git-send-email-Jes.Sorensen@redhat.com> <1282853162-16925-2-git-send-email-Jes.Sorensen@redhat.com> <4C778386.8090902@redhat.com> <4C77882D.7000308@redhat.com> <4C7789B5.8040707@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, gleb@redhat.com To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49578 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068Ab0H0J42 (ORCPT ); Fri, 27 Aug 2010 05:56:28 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7R9uSMi026431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Aug 2010 05:56:28 -0400 In-Reply-To: <4C7789B5.8040707@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/27/10 11:47, Avi Kivity wrote: > On 08/27/2010 12:41 PM, Jes Sorensen wrote: >> Ok, try v2 that I just posted - and forgot to add v2 in the Subject line >> to - sorry. >> > > Well, in light of Jan's comment re sti; hlt being clobbered by this, we > should think about requesting an interrupt window instead... > Ok, I heading onto thin ice here :) How does one do that, just a call to kvm_x86_ops->enable_nmi_window(vcpu); or is something else needed, like setting vcpu->arch.nmi_pending ? Cheers, Jes