• Thomas Meyer's avatar
    um: add a kmsg_dumper · 04a41849
    Thomas Meyer authored
    Add a kmsg_dumper, that dumps the kmsg buffer to stdout, when no console
    is available. This an enables the printing of early panic() calls
    triggered in uml_postsetup().
    When a panic() call happens so early in the UML kernel no
    earlyprintk/console is available yet, but with a kmsg_dumper in place
    the kernel message buffer will be outputted to the user, to give a
    better hint, of what the failure was.
    Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
    Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
    04a41849
um_arch.c 7.97 KB