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

[Xen-changelog] [xen-unstable] [XEN] Only allow each domain to putput crash debug info once.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 4ae4bdee00e66e15a427f67a2de3cf7bf6220445
# Parent  37141c3a3d39956ad5faf2d4e2a91276eaca557b
[XEN] Only allow each domain to putput crash debug info once.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/domain.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

diff -r 37141c3a3d39 -r 4ae4bdee00e6 xen/common/domain.c
--- a/xen/common/domain.c       Mon Dec 11 15:06:53 2006 +0000
+++ b/xen/common/domain.c       Mon Dec 11 16:32:25 2006 +0000
@@ -238,7 +238,11 @@ void domain_kill(struct domain *d)
 
 void __domain_crash(struct domain *d)
 {
-    if ( d == current->domain )
+    if ( test_bit(_DOMF_shutdown, &d->domain_flags) )
+    {
+        /* Print nothing: the domain is already shutting down. */
+    }
+    else if ( d == current->domain )
     {
         printk("Domain %d (vcpu#%d) crashed on cpu#%d:\n",
                d->domain_id, current->vcpu_id, smp_processor_id());

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