]> git.baikalelectronics.ru Git - kernel.git/commit
hvc_xen: implement multiconsole support
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 30 Jan 2012 16:02:31 +0000 (16:02 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 13 Mar 2012 23:23:41 +0000 (19:23 -0400)
commit5d33b7fad7cc682ab3deeaef87d0da7ea9918dc8
treec62a54d17a617d648cb1213fe6844d1687a54988
parent5f32455eba4665e1d007ab6efe64d0b8d0564104
hvc_xen: implement multiconsole support

This patch implements support for multiple consoles:
consoles other than the first one are setup using the traditional xenbus
and grant-table based mechanism.
We use a list to keep track of the allocated consoles, we don't
expect too many of them anyway.

Changes in v3:

- call hvc_remove before removing the console from xenconsoles;
- do not lock xencons_lock twice in the destruction path;
- use the DEFINE_XENBUS_DRIVER macro.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/tty/hvc/hvc_xen.c