qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] -nographic sometimes adds an extra chardev for


From: Michael Tokarev
Subject: Re: [Qemu-devel] [PATCH] -nographic sometimes adds an extra chardev for stdio
Date: Mon, 28 Apr 2014 23:53:09 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0

28.04.2014 19:00, Mike Day wrote:
> When the deprecated -nographic option is used with the -mon option in
> readline mode, qemu will create a second character device for stdio
> and place it over the stdio chardev put into place by the -mon
> option. This causes the terminal to stop echoeing characters upon exit
> from Qemu.
> 
> Fix by checking for the existing chardev before adding another.

Gosh. This is uuuuuuugly.

Maybe, at least, we can add some variable which gets incremented for
each -mon chardev= ?  I dunno, that's about the same ugliness.  Oh
well... :(

/mjt



reply via email to

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