From: Stefano Stabellini Subject: Re: [PATCH] Add tool to attempt to crash HVM guests Date: Thu, 29 Jul 2010 16:57:33 +0100 Message-ID: References: <19537.41851.741783.702287@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <19537.41851.741783.702287@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Paul Durrant , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 29 Jul 2010, Ian Jackson wrote: > Paul Durrant writes ("[Xen-devel] [PATCH] Add tool to attempt to crash HVM guests"): > > This tool reads the CPU save records, overwrites RIP with a bogus > > value, and then restores them. This is, of course, not guaranteed > > to crash the guest (since the CPUs may not be executing in kernel > > at the time) but it's good for breaking into some tight loops that > > would be hard to debug otherwise. > > Surely there must be a better way of doing this! Isn't it sufficient > to pause the guest and then inspect it ? Or do we need a new domctl > to crash the guest explicitly ? > Explicitly crashing the guest can be very useful for testing, I had to use this tool myself few times...