Re: [PATCH 07/28] virtio: console: don't assume a single console port.

2009-11-29 Thread Rusty Russell
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

Re: [PATCH 07/28] virtio: console: don't assume a single console port.

2009-11-29 Thread Amit Shah
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

[PATCH 07/28] virtio: console: don't assume a single console port.

2009-11-27 Thread Amit Shah
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