All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [BROKEN] Windows host: -redir flag, console output, -nographic
@ 2004-10-11 17:52 André Braga
  2004-10-11 18:10 ` [Qemu-devel] " Ronald
  0 siblings, 1 reply; 6+ messages in thread
From: André Braga @ 2004-10-11 17:52 UTC (permalink / raw)
  To: qemu-devel

If I specify -user-net -redir tcp:6000::6001 (as per the example on
the documentation; just wanted to test whether Cygwin X11 would be
much faster than X11 under the emulator), QEMU refuses to start.

And since console output (command window) on Windows is broken for
quite some time now (since mid-August, I guess; does it have anything
to do with linking flags passed to SDL?), qemu -h or any other error
messages simply won't show up...

Finally, because I was running an external X11 server, I tried the
-nographic flag, to no avail.

Could anyone look those up?



-- 
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] Re: [BROKEN] Windows host: -redir flag, console output, -nographic
  2004-10-11 17:52 [Qemu-devel] [BROKEN] Windows host: -redir flag, console output, -nographic André Braga
@ 2004-10-11 18:10 ` Ronald
  2004-10-11 18:34   ` André Braga
  0 siblings, 1 reply; 6+ messages in thread
From: Ronald @ 2004-10-11 18:10 UTC (permalink / raw)
  To: qemu-devel

Le Mon, 11 Oct 2004 14:52:40 -0300, André Braga a écrit :

> If I specify -user-net -redir tcp:6000::6001 (as per the example on the
> documentation; just wanted to test whether Cygwin X11 would be much faster
> than X11 under the emulator), QEMU refuses to start.
> 

I don't use cygwin, sorry if it seems a dumb question.
Are you launching X11 server before qemu? If tcp/6000 is already
bound on host side, could this prevent qemu to start?

> And since console output (command window) on Windows is broken for quite
> some time now (since mid-August, I guess; does it have anything to do with
> linking flags passed to SDL?), qemu -h or any other error messages simply
> won't show up...
> 
> Finally, because I was running an external X11 server, I tried the
> -nographic flag, to no avail.
> 
> Could anyone look those up?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Re: [BROKEN] Windows host: -redir flag, console output, -nographic
  2004-10-11 18:10 ` [Qemu-devel] " Ronald
@ 2004-10-11 18:34   ` André Braga
  2004-10-11 18:51     ` [Qemu-devel] " Ronald
  0 siblings, 1 reply; 6+ messages in thread
From: André Braga @ 2004-10-11 18:34 UTC (permalink / raw)
  To: qemu-devel

On Mon, 11 Oct 2004 20:10:59 +0200, Ronald <look@reply.to> wrote:
> I don't use cygwin, sorry if it seems a dumb question.
> Are you launching X11 server before qemu? If tcp/6000 is already
> bound on host side, could this prevent qemu to start?

Now I'm feeling stupid ;D

Sorry. Still, the console and -nographic are broken as described. If
QEMU ever attempted to tell me that the port was in use, I never got
the message...


Cheers,
A.


-- 
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] Re: Re: [BROKEN] Windows host: -redir flag, console output, -nographic
  2004-10-11 18:34   ` André Braga
@ 2004-10-11 18:51     ` Ronald
  2004-10-11 19:06       ` André Braga
  0 siblings, 1 reply; 6+ messages in thread
From: Ronald @ 2004-10-11 18:51 UTC (permalink / raw)
  To: qemu-devel

Le Mon, 11 Oct 2004 15:34:35 -0300, André Braga a écrit :

> On Mon, 11 Oct 2004 20:10:59 +0200, Ronald <look@reply.to> wrote:
>> I don't use cygwin, sorry if it seems a dumb question. Are you launching
>> X11 server before qemu? If tcp/6000 is already bound on host side, could
>> this prevent qemu to start?
> 
> Now I'm feeling stupid ;D
> 
> Sorry. Still, the console and -nographic are broken as described. If QEMU
> ever attempted to tell me that the port was in use, I never got the
> message...
> 

For stdout I think the only way is to redirect output to a file, I know
this work for text output like help(perhaps it depends on SDL redirection
support). Windows has a something particular, a gui application don't have
a console with stdio attached by default, I remember there was a patch to
implement console support, kazu's qemu for windows used it.

> 
> Cheers,
> A.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] Re: Re: [BROKEN] Windows host: -redir flag, console output, -nographic
  2004-10-11 18:51     ` [Qemu-devel] " Ronald
@ 2004-10-11 19:06       ` André Braga
  2004-10-11 22:04         ` [Qemu-devel] " Ronald
  0 siblings, 1 reply; 6+ messages in thread
From: André Braga @ 2004-10-11 19:06 UTC (permalink / raw)
  To: qemu-devel

On Mon, 11 Oct 2004 20:51:07 +0200, Ronald <look@reply.to> wrote:
> For stdout I think the only way is to redirect output to a file, I know
> this work for text output like help(perhaps it depends on SDL redirection
> support). Windows has a something particular, a gui application don't have
> a console with stdio attached by default, I remember there was a patch to
> implement console support, kazu's qemu for windows used it.
 
Hmm, that's what I meant by "SDL linking flag"...

Maybe this is blocking -nographic?

So I guess everything is there, except that I'll have to enable them
manually. Time to ressurrect my building environment on Windows...
*sigh*

Still, I don't think this is correct behavior. Not opening the initial
console causes QEMU on Windows not to:
1) display console output in case of option misuse, or -h
2) support -nographic

which is evil.


cheers,
A.


-- 
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] Re: Re: Re: [BROKEN] Windows host: -redir flag, console output, -nographic
  2004-10-11 19:06       ` André Braga
@ 2004-10-11 22:04         ` Ronald
  0 siblings, 0 replies; 6+ messages in thread
From: Ronald @ 2004-10-11 22:04 UTC (permalink / raw)
  To: qemu-devel

Le Mon, 11 Oct 2004 16:06:06 -0300, André Braga a écrit :

> On Mon, 11 Oct 2004 20:51:07 +0200, Ronald <look@reply.to> wrote:
>> For stdout I think the only way is to redirect output to a file, I know
>> this work for text output like help(perhaps it depends on SDL
>> redirection support). Windows has a something particular, a gui
>> application don't have a console with stdio attached by default, I
>> remember there was a patch to implement console support, kazu's qemu for
>> windows used it.
>  
> Hmm, that's what I meant by "SDL linking flag"...
> 
> Maybe this is blocking -nographic?
> 
> So I guess everything is there, except that I'll have to enable them
> manually. Time to ressurrect my building environment on Windows... *sigh*
> 
> Still, I don't think this is correct behavior. Not opening the initial
> console causes QEMU on Windows not to: 1) display console output in case
> of option misuse, or -h 2) support -nographic
> 
> which is evil.
> 

I don't know if qemu will works like this, but just to see I've
build qemu.exe without the -mwindows flag (like indicated in the patch),
qemu -h print the help on the dos prompt.

> 
> cheers,
> A.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-11 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 17:52 [Qemu-devel] [BROKEN] Windows host: -redir flag, console output, -nographic André Braga
2004-10-11 18:10 ` [Qemu-devel] " Ronald
2004-10-11 18:34   ` André Braga
2004-10-11 18:51     ` [Qemu-devel] " Ronald
2004-10-11 19:06       ` André Braga
2004-10-11 22:04         ` [Qemu-devel] " Ronald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.