From: "Jan Beulich" Subject: Re: [PATCH] reduce useless output from 'd' consolecommand Date: Thu, 12 Jun 2008 16:50:40 +0100 Message-ID: <485161F0.76E4.0078.0@novell.com> References: <485156B4.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: Keir Fraser , xen-devel@lists.xensource.com Cc: xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 12.06.08 17:31 >>> >I quite like it as it is. The output for a CPU in guest mode is quite = short, >and outputting printk("CPU%d blah") before doing the IPI also lets us see >very clearly if a CPU is probably not responding to IPI. I think changing >console_start_log_everything() to console_start_sync() would be a good = idea, >at least for key 'd'. The part about placement of the printk() is certainly reasonable, but the guest mode output being short I have to question - its stack trace can be as long as the hypervisor's. And clearly printing hypervisor context when guest execution was interrupted is pointless. Jan