From: George Dunlap Subject: [PATCH] hvm/vpt: Check that an irq is not blocked before waking the vcpu Date: Mon, 9 Mar 2009 11:45:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e65385c293368e0464ae2d64 Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org --0016e65385c293368e0464ae2d64 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --0016e65385c293368e0464ae2d64 Content-Type: text/x-diff; charset=US-ASCII; name="check-event-before-wake.diff" Content-Disposition: attachment; filename="check-event-before-wake.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fs3375hd0 ZGlmZiAtciBiMjQ5ZjNlOTc5YTUgeGVuL2FyY2gveDg2L2h2bS92cHQuYwotLS0gYS94ZW4vYXJj aC94ODYvaHZtL3ZwdC5jCU1vbiBNYXIgMDkgMTA6MzI6MjQgMjAwOSArMDAwMAorKysgYi94ZW4v YXJjaC94ODYvaHZtL3ZwdC5jCU1vbiBNYXIgMDkgMTE6MzI6MTQgMjAwOSArMDAwMApAQCAtMjA5 LDcgKzIwOSw4IEBACiAgICAgICAgIHNldF90aW1lcigmcHQtPnRpbWVyLCBwdC0+c2NoZWR1bGVk KTsKICAgICB9CiAKLSAgICB2Y3B1X2tpY2socHQtPnZjcHUpOworICAgIGlmICggIXB0X2lycV9t YXNrZWQocHQpICkKKyAgICAgICAgdmNwdV9raWNrKHB0LT52Y3B1KTsKIAogICAgIHB0X3VubG9j ayhwdCk7CiB9Cg== --0016e65385c293368e0464ae2d64 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0016e65385c293368e0464ae2d64--