[XEN] Only allow each domain to putput crash debug info once.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-12-11 16:32:25 +00:00
1 parent 88008890d4
commit ad4a42ea52
1 file changed
+5 -1
+5 -1
View File
@@ -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());
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.