tools/xenconsoled: Log Xen boot messages at startup.
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Jul 2014 16:17:16 +0000 (17:17 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jul 2014 15:23:19 +0000 (16:23 +0100)
commite40f01f4d5181feb7e280410bf9bf05e8301279a
tree820f4c0714190106a9345ffc8df1096ec4dd82a0
parent63a04d97a01936bff5388947f1348ac144b64101
tools/xenconsoled: Log Xen boot messages at startup.

When xenconsoled starts, there will be log lines in the Xen console ring from
boot, even though VIRQ_CON_RING is not yet pending.

Add a force option to handle_hv_logs() which bypasses the event channel check,
allowing xenconsoled to drain the Xen boot messages when it starts, rather
than at the first subsequent time that VIRQ_CON_RING becomes set.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/console/daemon/io.c