qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Regarding semihosting


From: Anand Umarji
Subject: Re: [Qemu-discuss] Regarding semihosting
Date: Mon, 2 May 2016 16:20:29 +0530

Thanks Peter for the info. To open a file with semihosting what is the option. Can you provide me an example it will be helpful.

Regards,
Anand

On May 2, 2016 4:14 PM, "Peter Maydell" <address@hidden> wrote:
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]