uml: handle errors on opening host side of consoles
authorJeff Dike <[email protected]>
Mon, 16 Jul 2007 06:38:54 +0000 (23:38 -0700)
committerLinus Torvalds <[email protected]>
Mon, 16 Jul 2007 16:05:38 +0000 (09:05 -0700)
commitd14ad81f800a57d3f21f8e98556c728968883e9a
treecbe17039283dd51654aaa5a9ac4fae9233285d96
parent75886f21e3a53a298b097103fd52e83184a89c22
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 <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/um/defconfig
arch/um/drivers/chan_kern.c
arch/um/drivers/line.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/chan_kern.h