virtio: console: Return -EPIPE to hvc_console if we lost the connection

hvc_console handles -EPIPE properly when the connection to the host is
lost.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Amit Shah 2010-05-19 22:15:47 -06:00 • committed by Rusty Russell
commit 6dc69f9702