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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207755171 -3600
# Node ID e63b48242116f9909799962ae17a4bff287e5cce
# Parent  f410fa7f379c3a2fc8d4117188f36899e63e6053
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/arch/x86/hvm/vlapic.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r f410fa7f379c -r e63b48242116 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Wed Apr 09 16:31:16 2008 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Wed Apr 09 16:32:51 2008 +0100
@@ -789,6 +789,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);
 }
 
 /* rearm the actimer if needed, after a HVM restore */

_______________________________________________
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®.