From: Ian Jackson Subject: Re: [PATCH] Add tool to attempt to crash HVM guests Date: Thu, 29 Jul 2010 16:51:23 +0100 Message-ID: <19537.41851.741783.702287@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Paul Durrant Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 ? Ian.