Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-14 Thread Liviu Ionescu
> On 14 Aug 2015, at 15:15, Daniel P. Berrange wrote: > > On Fri, Aug 14, 2015 at 12:14:15PM +0100, Daniel P. Berrange wrote: >> On Thu, Aug 13, 2015 at 07:48:47PM +0200, Stefan Weil wrote: >>> ... that's a feature of SDL 1.2: stdout and stderr are by default >>> redirected to files stdout.txt a

Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-14 Thread Daniel P. Berrange
On Fri, Aug 14, 2015 at 12:14:15PM +0100, Daniel P. Berrange wrote: > On Thu, Aug 13, 2015 at 07:48:47PM +0200, Stefan Weil wrote: > > Am 13.08.2015 um 14:06 schrieb Daniel P. Berrange: > > > When debugging some patches on Windows, I discovered that nothing printed > > > to stderr ever appears on t

Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-14 Thread Daniel P. Berrange
On Thu, Aug 13, 2015 at 07:48:47PM +0200, Stefan Weil wrote: > Am 13.08.2015 um 14:06 schrieb Daniel P. Berrange: > > When debugging some patches on Windows, I discovered that nothing printed > > to stderr ever appears on the console. Eventually I discovered that if I > > build with --disable-sdl,

Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-13 Thread Stefan Weil
Am 13.08.2015 um 14:06 schrieb Daniel P. Berrange: > When debugging some patches on Windows, I discovered that nothing printed > to stderr ever appears on the console. Eventually I discovered that if I > build with --disable-sdl, then stderr appears just fine. > > Looking at the code in vl.c I see

Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-13 Thread Daniel P. Berrange
On Thu, Aug 13, 2015 at 01:06:43PM +0100, Daniel P. Berrange wrote: > When debugging some patches on Windows, I discovered that nothing printed > to stderr ever appears on the console. Eventually I discovered that if I > build with --disable-sdl, then stderr appears just fine. > > Looking at the c

Re: [Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-13 Thread Pavel Fedin
Hello! > Looking at the code in vl.c I see a hack for SDL introduced in > > commit 59a36a2f6728081050afc6ec97d0018467999f79 > Author: Stefan Weil > Date: Thu Jun 18 20:11:03 2009 +0200 > > Win32: Fix compilation with SDL. Just a hint which may have to do with this. Looks like SDL

[Qemu-devel] Win32 stdio not working if SDL is enabled

2015-08-13 Thread Daniel P. Berrange
When debugging some patches on Windows, I discovered that nothing printed to stderr ever appears on the console. Eventually I discovered that if I build with --disable-sdl, then stderr appears just fine. Looking at the code in vl.c I see a hack for SDL introduced in commit 59a36a2f6728081050afc