From: Ian Jackson Subject: Re: [PATCH] tools: hvmloader: attempt to SHUTDOWN_crash on BUG Date: Wed, 20 Apr 2011 18:24:27 +0100 Message-ID: <19887.5835.267134.193753@mariner.uk.xensource.com> References: <05abea47f4dc670974cd.1303143712@cosworth.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <05abea47f4dc670974cd.1303143712@cosworth.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 Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[Xen-devel] [PATCH] tools: hvmloader: attempt to SHUTDOWN_crash on BUG"): > tools: hvmloader: attempt to SHUTDOWN_crash on BUG > > If we have got as far as having enabled hypercalls then this signals to the > toolstack that something went wrong. Otherwise they tend to assume the guest > has either shutdown or rebooted which can lead to simply trying again > repeatedly. Surely in principle this is wrong. Anything other than a deliberate decision by hvmloader to exit cleanly (how would that ever happen?) should be treated as a crash. Perhaps the toolstack for an hvm domain should set the shutdown reason to "crashed" before unpausing ? It looks like this is possible with an appropriate domctl ... Ian.