commit | cfa6d3792550c9eac51887181358954e6515da6b | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Mon Jan 18 19:15:10 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 24 14:22:48 2010 +1030 |
tree | 2ee0ee37ad3289f57c082a3cba496898089ff1c2 | |
parent | 4f23c573c0dbebfd193cfb90b003d67929c58b31 [diff] |
virtio: console: Separate out console init into a new function Console ports could be hot-added. Also, with the new multiport support, a port is identified as a console port only if the host sends a control message. Move the console port init into a separate function so it can be invoked from other places. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>