From: kfraser@localhost.localdomain Date: Mon, 11 Dec 2006 16:32:25 +0000 (+0000) Subject: [XEN] Only allow each domain to putput crash debug info once. X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ad4a42ea52b4ffadae193849771ea170ac2a3830;p=xen.git [XEN] Only allow each domain to putput crash debug info once. Signed-off-by: Keir Fraser --- diff --git a/xen/common/domain.c b/xen/common/domain.c index 51a2e78d31..091ad986c4 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -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());