discover: Allow an in-progress boot to be cancelled
authorJeremy Kerr <jk@ozlabs.org>
Mon, 14 Oct 2013 05:29:31 +0000 (13:29 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 15 Oct 2013 03:19:55 +0000 (11:19 +0800)
commit2312c424d516862877c45a9566816acfe2da0f06
tree7d6e62f8392c613c0ccd34a997c6af671f412c74
parente983d818be18a975c519bd76294519a01ce7a1c3
discover: Allow an in-progress boot to be cancelled

Currently, once the boot() function is called, the boot process will
ignore any cancellations.

This change allows boot() to be cancelled, via boot_cancel().

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/boot.c
discover/boot.h
discover/device-handler.c
test/parser/handler.c