WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Kill PM timer

# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1187989609 21600
# Node ID 0cc2e0a1b2fcf0f46a23f51e691650893ae5aee9
# Parent  049d4baa9965b35eed8b4b4a1a2283906d956ac3
[IA64] Kill PM timer

The release proceeding of domain resources forgot to stop (or kill)
PM timer, and freed the domain structure.
VMX flag of VCPU#0 was not set when VHPT allocation for VCPU#0
failed.  For this reason, domain_relinquish_resources() did not
call vmx_relinqush_guest_resources().  But the domain structure
was freed.  As a result, timer_softirq_action() lose sight of
the callback function for PM timer.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/domain.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 049d4baa9965 -r 0cc2e0a1b2fc xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Thu Aug 16 13:46:50 2007 -0600
+++ b/xen/arch/ia64/xen/domain.c        Fri Aug 24 15:06:49 2007 -0600
@@ -939,7 +939,7 @@ void domain_relinquish_resources(struct 
 void domain_relinquish_resources(struct domain *d)
 {
     /* Relinquish guest resources for VT-i domain. */
-    if (d->vcpu[0] && VMX_DOMAIN(d->vcpu[0]))
+    if (d->arch.is_vti)
            vmx_relinquish_guest_resources(d);
 
     /* Tear down shadow mode stuff. */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Kill PM timer, Xen patchbot-unstable <=