diff options
Diffstat (limited to 'drivers/char/virtio_console.c')
-rw-r--r-- | drivers/char/virtio_console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 6d5c579b1693..dc42d5689483 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c | |||
@@ -1259,6 +1259,9 @@ static void unplug_port(struct port *port) | |||
1259 | port->guest_connected = false; | 1259 | port->guest_connected = false; |
1260 | port->host_connected = false; | 1260 | port->host_connected = false; |
1261 | wake_up_interruptible(&port->waitqueue); | 1261 | wake_up_interruptible(&port->waitqueue); |
1262 | |||
1263 | /* Let the app know the port is going down. */ | ||
1264 | send_sigio_to_port(port); | ||
1262 | } | 1265 | } |
1263 | 1266 | ||
1264 | if (is_console_port(port)) { | 1267 | if (is_console_port(port)) { |