From: Kouya Shimura Subject: [PATCH] x86 hvm: fix one-shot timers. reset pending_intr_nr. Date: Thu, 3 Sep 2009 17:03:42 +0900 Message-ID: <7k3a74xxnj.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="HhnkOQjYDw" Content-Transfer-Encoding: 7bit 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@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --HhnkOQjYDw Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit As long as I look over the source code (sorry, I don't test it), once one-shot timer is fired, IRQ is raised repeatedly forever. Signed-off-by: Kouya Shimura --HhnkOQjYDw Content-Type: text/x-patch Content-Disposition: inline; filename="fix_one_shot.patch" Content-Transfer-Encoding: 7bit diff -r 52fd5baad593 xen/arch/x86/hvm/vpt.c --- a/xen/arch/x86/hvm/vpt.c Wed Sep 02 16:15:05 2009 +0100 +++ b/xen/arch/x86/hvm/vpt.c Thu Sep 03 16:32:45 2009 +0900 @@ -298,6 +298,7 @@ void pt_intr_post(struct vcpu *v, struct if ( pt->on_list ) list_del(&pt->list); pt->on_list = 0; + pt->pending_intr_nr = 0; } else { --HhnkOQjYDw 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 --HhnkOQjYDw--