HUPin the ttys in drivers/char/hvcs.c

Jimi Xenidis jimix at
Wed Feb 2 06:34:31 EST 2005

In an LPAR environment there is the hvc (client side VTERM) and the
hvcs (server side VTERM).  If the /dev/hvcs<n> is paired/registered
with a VTERM what is removed (as in the case of LPAR death) the
H_GET_TERM_CHAR hcall will eventually return H_Closed.

IMHO, when this event occurs the /dev/hvcs<n> should get HUPed and
ultimately an H_FREE_VTERM should occurs on the channel.
Otherwise the administrator would have to clean up after it.


More information about the Linuxppc64-dev mailing list