qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 1/2] trap signals for "-serial mon:stdio"


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v3 1/2] trap signals for "-serial mon:stdio"
Date: Tue, 9 Jul 2013 13:37:02 +0100

On 9 July 2013 13:02, Michael Tokarev <address@hidden> wrote:
> 09.07.2013 12:42, Andreas Färber wrote:
>> Am 09.07.2013 09:39, schrieb Michael Tokarev:
>>> Ping?
>>
>> Have you tested -semihosting? The xtensa test image on the Wiki uses
>> -nographic, but semihosting content always seems to go to stdout without
>> going through a chardev IIUC...

This is I think correct, or at least not worth trying to
change to make it talk to a chardev. The semihosting ABI
in this area is intended primarily for debugging and similar
purposes. I don't think this patch should adversely affect
semihosting users.

> Ok.  I tried the xtensa image from wiki.qemu.org/Testing , and it
> appears to work with or without the changes in question.  Which,
> I think, is wrong, because it is a bug of the same theme - with
> -daemonize we can't do -semihosting due to std file descriptors
> being redirected to /dev/null.  So it looks like there's another
> bug of waiting to hunt, but I really am a wrong person to do that,
> maybe Max Filippov can take a look.

daemonize + semihosting is a bit of an odd combination, but in
theory I guess it might be ok if the guest restricts its use of
the semihosting ABI.

-- PMM



reply via email to

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