commit | 314081f1025e9ea77b69261f21183e9be18a6f91 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Mon Jul 29 14:25:38 2013 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Jul 29 14:50:49 2013 +0930 |
tree | 5e6dc6c56dc4017999f646f4916cb3f8cc0055e5 | |
parent | 5549fb25811710585d5ec77a0e6a1fbc8808df93 [diff] |
virtio: console: fix locking around send_sigio_to_port() send_sigio_to_port() checks the value of guest_connected, which we always modify under the inbuf_lock; make sure invocations of send_sigio_to_port() have take the inbuf_lock around the call. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>