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/
Home Products Support Community News


[Xen-devel] Crashing a guest domain

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Crashing a guest domain
From: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2007 16:08:23 +0100
Delivery-date: Mon, 24 Sep 2007 08:09:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The problem I'm trying to solve is how, from dom0, to crash a guest
domain.  The reason for wanting to do this is when dom0 detects that the
guest is misbehaving (in this specific example, claiming it has stopped
using a grant when in fact it hasn't) the most sensible action is to
crash it.  Rather like BUG(), but where the effect should be to crash
the misbehaving guest rather than the caller.

I've not been able to dig up anything that obviously does this.  Is
there an API to do it?  I'd hoped that a HYPERVISOR_sched_op with
SCHEDOP_remote_shutdown might do the trick, but it appears not to
(returns zero, but no visible effect).



Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>