From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 06/17] Add halt() and some error codes Date: Sat, 1 Feb 2014 18:23:22 -0800 Message-ID: <20140202022322.GP3570@cbox> References: <1390321323-1855-1-git-send-email-drjones@redhat.com> <1390321323-1855-7-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org To: Andrew Jones Return-path: Received: from mail-pb0-f51.google.com ([209.85.160.51]:43626 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbaBBCXT (ORCPT ); Sat, 1 Feb 2014 21:23:19 -0500 Received: by mail-pb0-f51.google.com with SMTP id un15so5840849pbc.38 for ; Sat, 01 Feb 2014 18:23:19 -0800 (PST) Content-Disposition: inline In-Reply-To: <1390321323-1855-7-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jan 21, 2014 at 05:21:52PM +0100, Andrew Jones wrote: > Define a halt function that can be implemented by the test framework > for use on error paths before exit() works. Also add some error codes > that can be passed to halt() in case the serial isn't working either. > Then, on register inspection of the halted guest we may be able to > quickly determine the problem without having to find the halt() > call-site. The error codes may of course also be used with exit(). > > Signed-off-by: Andrew Jones > Acked-by: Christoffer Dall