[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86 hvm: fix one-shot timers. reset pending_intr_nr.



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 <kouya@xxxxxxxxxxxxxx>

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
     {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.