If the guest doesn't print anything on the debug console although it should and you are sure you did everything right, just enable CONFIG_TRACE_ERROR, and the hypervisor may now tell you (indirectly) that you forgot to configure this logging privilege in the cell config.
Reported-by: Francois-Frederic Ozog <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/control.c b/hypervisor/control.c index 858ffc745..5cf96c951 100644 --- a/hypervisor/control.c +++ b/hypervisor/control.c @@ -876,7 +876,7 @@ long hypercall(unsigned long code, unsigned long arg1, unsigned long arg2) case JAILHOUSE_HC_DEBUG_CONSOLE_PUTC: if (!(cpu_data->cell->config->flags & JAILHOUSE_CELL_DEBUG_CONSOLE)) - return -EPERM; + return trace_error(-EPERM); printk("%c", (char)arg1); return 0; default: -- 2.13.6 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
