ia64/xen-unstable

changeset 2597:6ceaf7d959a7

bitkeeper revision 1.1159.1.203 (41627baf9iewVs_cM71QK_H2uLYnYw)

wait longer for domain to suspend.
author iap10@labyrinth.cl.cam.ac.uk
date Tue Oct 05 10:47:11 2004 +0000 (2004-10-05)
parents a4fbb98f00cb
children 92fff25bf21e
files tools/libxc/xc_linux_save.c xen/common/keyhandler.c
line diff
     1.1 --- a/tools/libxc/xc_linux_save.c	Mon Oct 04 15:31:14 2004 +0000
     1.2 +++ b/tools/libxc/xc_linux_save.c	Tue Oct 05 10:47:11 2004 +0000
     1.3 @@ -269,8 +269,10 @@ retry:
     1.4      }
     1.5  
     1.6  
     1.7 -    if( ++i < 3 )
     1.8 +    if( ++i < 100 )
     1.9      {
    1.10 +	xcio_error(ioctxt, "Retry suspend domain (%lx)",
    1.11 +		   op->u.getdomaininfo.flags);
    1.12  	usleep(10000);  // 10ms	
    1.13  	goto retry;
    1.14      }
     2.1 --- a/xen/common/keyhandler.c	Mon Oct 04 15:31:14 2004 +0000
     2.2 +++ b/xen/common/keyhandler.c	Tue Oct 05 10:47:11 2004 +0000
     2.3 @@ -70,10 +70,10 @@ void do_task_queues(unsigned char key, v
     2.4  
     2.5      for_each_domain ( d )
     2.6      {
     2.7 -        printk("Xen: DOM %u, CPU %d [has=%c] refcnt=%d nr_pages=%d "
     2.8 +        printk("Xen: DOM %u, CPU %d [has=%c] flags=%lx refcnt=%d nr_pages=%d "
     2.9                 "xenheap_pages=%d\n",
    2.10                 d->domain, d->processor, 
    2.11 -               test_bit(DF_RUNNING, &d->flags) ? 'T':'F',
    2.12 +               test_bit(DF_RUNNING, &d->flags) ? 'T':'F', d->flags,
    2.13                 atomic_read(&d->refcnt), d->tot_pages, d->xenheap_pages);
    2.14  
    2.15          if ( d->tot_pages < 10 )