[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Regarding semihosting
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] Regarding semihosting |
Date: |
Mon, 2 May 2016 11:44:07 +0100 |
On 2 May 2016 at 05:39, Anand Umarji <address@hidden> wrote:
> I am trying to use semihosting option to capture the output logs
> into a log file.
> But i am not able to find the option to provide a log file for
> capturing .
There isn't one. The semihosting ABI allows the guest to either
(a) open a file (it chooses the filename) or
(b) open the terminal (which is QEMU's stdin/stdout)
QEMU implements this, so it's up to your guest OS where its
logging goes; if it uses the terminal (which is the usual thing)
you can redirect QEMU's stdout using the usual shell redirections.
thanks
-- PMM