From: Tim Deegan Subject: Re: [PATCH] x86: don't deliver NMI to PVH Dom0 Date: Thu, 11 Dec 2014 14:00:26 +0100 Message-ID: <20141211130026.GA53825@deinos.phlegethon.org> References: <54898449020000780004EDDD@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xz3MJ-0004jR-0i for xen-devel@lists.xenproject.org; Thu, 11 Dec 2014 13:00:43 +0000 Content-Disposition: inline In-Reply-To: <54898449020000780004EDDD@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org At 10:47 +0000 on 11 Dec (1418291241), Jan Beulich wrote: > ... for the time being: The mechanism used depends on the domain's use > of the IRET hypercall. Can you elaborate? Looking at the existing code it seems like what it does is set v->nmi_pending and make sure the vcpu gets scheduled appropriately. The HVM code will deliver an NMI if it sees v->nmi_pending (which is what vlapic_accept_irq does, for example). Is there some other piece I'm missing? Cheers, Tim.