WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Add tool to attempt to crash HVM guests

To: Paul Durrant <paul.durrant@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add tool to attempt to crash HVM guests
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 2010 16:51:23 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Jul 2010 08:53:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c28224c0f0657aa29c13.1280326524@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <c28224c0f0657aa29c13.1280326524@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel