x86 hvm: fix one-shot timers. reset pending_intr_nr.
PATCH 1/1 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 <[email protected]>
xen/arch/x86/hvm/vpt.c +1 -0
@@ -298,6 +298,7 @@ void pt_intr_post(struct vcpu *v, structif ( pt->on_list )list_del (&pt->list); pt->on_list =0 ; + pt->pending_intr_nr =0 ; }else {
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel