diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-07-16 02:38:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:38 -0400 |
commit | d14ad81f800a57d3f21f8e98556c728968883e9a (patch) | |
tree | cbe17039283dd51654aaa5a9ac4fae9233285d96 /arch/um/defconfig | |
parent | 75886f21e3a53a298b097103fd52e83184a89c22 (diff) |
uml: handle errors on opening host side of consoles
If the host side of a console can't be opened, this will now produce visible
error messages.
enable_chan now returns a status and this is passed up to con_open and
ssl_open, which will complain if anything went wrong.
The default host device for the serial line driver is now a pts device rather
than a pty device since lots of hosts have LEGACY_PTYS disabled. This had
always been failing on such hosts, but silently.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/defconfig')
-rw-r--r-- | arch/um/defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/defconfig b/arch/um/defconfig index e5b2df9e12de..a25cd25d55d4 100644 --- a/arch/um/defconfig +++ b/arch/um/defconfig | |||
@@ -189,7 +189,7 @@ CONFIG_XTERM_CHAN=y | |||
189 | # CONFIG_NOCONFIG_CHAN is not set | 189 | # CONFIG_NOCONFIG_CHAN is not set |
190 | CONFIG_CON_ZERO_CHAN="fd:0,fd:1" | 190 | CONFIG_CON_ZERO_CHAN="fd:0,fd:1" |
191 | CONFIG_CON_CHAN="xterm" | 191 | CONFIG_CON_CHAN="xterm" |
192 | CONFIG_SSL_CHAN="pty" | 192 | CONFIG_SSL_CHAN="pts" |
193 | CONFIG_UNIX98_PTYS=y | 193 | CONFIG_UNIX98_PTYS=y |
194 | CONFIG_LEGACY_PTYS=y | 194 | CONFIG_LEGACY_PTYS=y |
195 | CONFIG_LEGACY_PTY_COUNT=256 | 195 | CONFIG_LEGACY_PTY_COUNT=256 |