ia64/xen-unstable

changeset 19261:c62b453f27d5

When a domain crashes, ignore shutdown deferrals.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 02 14:09:21 2009 +0000 (2009-03-02)
parents 58edfadb2d87
children 310c85c9cb86
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Mon Mar 02 13:56:47 2009 +0000
     1.2 +++ b/xen/common/domain.c	Mon Mar 02 14:09:21 2009 +0000
     1.3 @@ -465,7 +465,9 @@ void domain_shutdown(struct domain *d, u
     1.4  
     1.5      for_each_vcpu ( d, v )
     1.6      {
     1.7 -        if ( v->defer_shutdown )
     1.8 +        if ( reason == SHUTDOWN_crash )
     1.9 +            v->defer_shutdown = 0;
    1.10 +        else if ( v->defer_shutdown )
    1.11              continue;
    1.12          vcpu_pause_nosync(v);
    1.13          v->paused_for_shutdown = 1;