On 9 July 2013 13:02, Michael Tokarev <m...@tls.msk.ru> 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