summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-11-26 05:55:38 (GMT)
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 03:52:55 (GMT)
commit3c7969ccb569968a79fab3729075751bc8fc2f78 (patch)
treec5f9d8362d8b448961cb0bf355a445e14646dec4 /include
parent2030fa496d74b49220308eaccf656e2338019cfd (diff)
downloadlinux-fsl-qoriq-3c7969ccb569968a79fab3729075751bc8fc2f78.tar.xz
virtio: console: Ensure only one process can have a port open at a time
Add a guest_connected field that ensures only one process can have a port open at a time. This also ensures we don't have a race when we later add support for dropping buffers when closing the char dev and buffer caching is turned off for the particular port. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions