From 2e9b6488ea128de5a2f75e3397b822efe84d881f Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Thu, 2 Sep 2010 18:47:54 +0530 Subject: [PATCH] --- yaml --- r: 211658 b: refs/heads/master c: a461e11e7b8ca2705889bcf9582f6a8f84884bd2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/char/virtio_console.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a3afb45811eb..d4ac01c5fe52 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 55f6bcce3691f68476a530daa6666b66c43420a8 +refs/heads/master: a461e11e7b8ca2705889bcf9582f6a8f84884bd2 diff --git a/trunk/drivers/char/virtio_console.c b/trunk/drivers/char/virtio_console.c index 6d5c579b1693..dc42d5689483 100644 --- a/trunk/drivers/char/virtio_console.c +++ b/trunk/drivers/char/virtio_console.c @@ -1259,6 +1259,9 @@ static void unplug_port(struct port *port) port->guest_connected = false; port->host_connected = false; wake_up_interruptible(&port->waitqueue); + + /* Let the app know the port is going down. */ + send_sigio_to_port(port); } if (is_console_port(port)) {