aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorAmit Shah2009-11-26 11:25:38 +0530
committerRusty Russell2010-02-24 14:22:55 +1030
commit3c7969ccb569968a79fab3729075751bc8fc2f78 (patch)
treec5f9d8362d8b448961cb0bf355a445e14646dec4 /drivers/serial
parent2030fa496d74b49220308eaccf656e2338019cfd (diff)
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 'drivers/serial')
0 files changed, 0 insertions, 0 deletions