On Sat, 28 Nov 2009 05:20:30 pm Amit Shah wrote:
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.
OK, I think we can do better than this.
How about we introduce a 'struct
On (Mon) Nov 30 2009 [12:20:02], Rusty Russell wrote:
On Sat, 28 Nov 2009 05:20:30 pm Amit Shah wrote:
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.
OK, I think we can do
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.s...@redhat.com
---
drivers/char/virtio_console.c | 72 +
1