From: "Jan Beulich" Subject: [PATCH] small adjustment to (dying) domain info printing Date: Mon, 27 Oct 2008 11:37:18 +0000 Message-ID: <4905B5FE.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Jan Beulich Index: 2008-10-27/xen/arch/x86/domain.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2008-10-27.orig/xen/arch/x86/domain.c 2008-10-27 11:11:36.0000000= 00 +0100 +++ 2008-10-27/xen/arch/x86/domain.c 2008-10-27 11:11:42.000000000 = +0100 @@ -135,7 +135,7 @@ void dump_pageframe_info(struct domain * =20 printk("Memory pages belonging to domain %u:\n", d->domain_id); =20 - if ( d->tot_pages >=3D 10 ) + if ( d->tot_pages >=3D 10 && d->is_dying < DOMDYING_dead ) { printk(" DomPage list too long to display\n"); } Index: 2008-10-27/xen/common/keyhandler.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2008-10-27.orig/xen/common/keyhandler.c 2008-09-24 10:23:53.0000000= 00 +0200 +++ 2008-10-27/xen/common/keyhandler.c 2008-10-27 11:11:42.000000000 = +0100 @@ -183,9 +183,9 @@ static void dump_domains(unsigned char k { printk("General information for domain %u:\n", d->domain_id); cpuset_print(tmpstr, sizeof(tmpstr), d->domain_dirty_cpumask); - printk(" refcnt=3D%d nr_pages=3D%d xenheap_pages=3D%d " + printk(" refcnt=3D%d dying=3D%d nr_pages=3D%d xenheap_pages=3D%= d " "dirty_cpus=3D%s\n", - atomic_read(&d->refcnt), + atomic_read(&d->refcnt), d->is_dying, d->tot_pages, d->xenheap_pages, tmpstr); printk(" handle=3D%02x%02x%02x%02x-%02x%02x-%02x%02x-" "%02x%02x-%02x%02x%02x%02x%02x%02x vm_assist=3D%08lx\n",