From: Keir Fraser Subject: Re: [PATCH] hvm/vpt: Check that an irq is not blocked before waking the vcpu Date: Mon, 09 Mar 2009 12:01:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap , Xen-devel List-Id: xen-devel@lists.xenproject.org On 09/03/2009 11:45, "George Dunlap" wrote: > Currently, when a timer fires for a vpt interrupt, the interrupt > handler calls vcpu_kick() without checking to see if the IRQ is > blocked. This causes the vcpu to wake up out of a halt when it > shouldn't. > > Signed-off-by: George Dunlap Only one question: could this race an unmask operation? Before this patch, pt_irq_masked() is only executed for the local vcpu, so such races may not have been considered. -- Keir