Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199723
b: refs/heads/master
c: 60e5e0b
h: refs/heads/master
i:
  199721: 866e01d
  199719: 746b903
v: v3
  • Loading branch information
Amit Shah authored and Rusty Russell committed Jun 3, 2010
1 parent b92b8f9 commit a2a0bae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0047634d3daebca9e99a22eb89167bf77f35cdfa
refs/heads/master: 60e5e0b84045ce0f6ab07a02c7fcd6627b53d2d3
4 changes: 4 additions & 0 deletions trunk/drivers/char/virtio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a2a0bae

Please sign in to comment.