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

[Xen-changelog] [xen-3.2-testing] x86 hvm: Make sure that we correctly tear down the vlapic periodic



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207756584 -3600
# Node ID a6b5ed7f22b7caf8c988d873bdf1122a80985d0c
# Parent  26bf346f2a830afa320812bc318a2cfac8108fc4
x86 hvm: Make sure that we correctly tear down the vlapic periodic
timer when the vlapic is destroyed or reset.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
xen-unstable changeset:   17425:e63b48242116f9909799962ae17a4bff287e5cce
xen-unstable date:        Wed Apr 09 16:32:51 2008 +0100
---
 xen/arch/x86/hvm/vlapic.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 26bf346f2a83 -r a6b5ed7f22b7 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Wed Apr 09 16:56:05 2008 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Wed Apr 09 16:56:24 2008 +0100
@@ -786,6 +786,8 @@ void vlapic_reset(struct vlapic *vlapic)
 
     vlapic_set_reg(vlapic, APIC_SPIV, 0xff);
     vlapic->hw.disabled |= VLAPIC_SW_DISABLED;
+
+    destroy_periodic_time(&vlapic->pt);
 }
 
 #ifdef HVM_DEBUG_SUSPEND

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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