[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] -nographic sometimes adds an extra chardev for
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] -nographic sometimes adds an extra chardev for stdio |
Date: |
Tue, 29 Apr 2014 09:09:15 +0200 |
On Mo, 2014-04-28 at 11:00 -0400, 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.
Welcome to the fun world of default devices. We'd love to get rid of
them as they also cause other similar grief, but we can't if we want
maintain backward compatibility :(
I strongly suggest to simply use '-nodefaults' if default devices get
into your way. Defining the serial line the way you want it using
'-serial $args' or '-device isa-serial,$args' will work (in that
specific case) too.
I don't feel like adding more band-aid to paper over the fundamental
issue. Too much band-aid tends to cause other unwanted side effects.
cheers,
Gerd