commit | 38edf58d73c28b082ec808aecdeb0ef2b92af049 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Mon Jan 18 19:15:05 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 24 14:22:41 2010 +1030 |
tree | a0235a87189cc48efc4fb61a1a2d70ce386891e1 | |
parent | 73954488b1cc74cf46d6b94b8d3175f45496bd32 [diff] |
virtio: console: don't assume a single console port. Keep a list of all ports being used as a console, and provide a lock and a lookup function. The hvc callbacks only give us a vterm number, so we need to map this. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>