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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207756923 -3600
# Node ID c83aae2fe603d03e6ba8ef55e982b4640982d918
# Parent  c156b4e04617041be3f7804978ce5ecdbc23fc0c
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 c156b4e04617 -r c83aae2fe603 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Wed Apr 09 16:59:57 2008 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Wed Apr 09 17:02:03 2008 +0100
@@ -780,6 +780,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®.