Skip to content

Commit

Permalink
hvc_xen: implement multiconsole support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefano Stabellini authored and Konrad Rzeszutek Wilk committed Mar 13, 2012
1 parent eb5ef07 commit 02e19f9
Showing 1 changed file with 377 additions and 58 deletions.
Loading

0 comments on commit 02e19f9

Please sign in to comment.