diff --git a/[refs] b/[refs] index be3553bf87f7..7a95c4f30dc0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0047634d3daebca9e99a22eb89167bf77f35cdfa +refs/heads/master: 60e5e0b84045ce0f6ab07a02c7fcd6627b53d2d3 diff --git a/trunk/drivers/char/virtio_console.c b/trunk/drivers/char/virtio_console.c index e3fb5296cf25..942a9826bd23 100644 --- a/trunk/drivers/char/virtio_console.c +++ b/trunk/drivers/char/virtio_console.c @@ -529,6 +529,10 @@ static bool will_write_block(struct port *port) { bool ret; + if (!port->guest_connected) { + /* Port got hot-unplugged. Let's exit. */ + return false; + } if (!port->host_connected) return true;