]> www.infradead.org Git - users/jedix/linux-maple.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>
Thu, 19 Apr 2012 21:12:17 +0000 (17:12 -0400)
commit9224a8a8e9282389181ee846a348e0b78bd447e5
treedab1cb17be5c141e01f01055b7619da1d8f09bc1
parent2e37f101642d9ad1c26cb1ba1e3169985eea0688
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.

[upstream git commit 02e19f9]
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