Re: [PATCH 06/17] Add halt() and some error codes

Christoffer Dall
2014-02-02T02:23:19Z

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 <drjones@redhat.com>
>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>