Hello, When multiple hvc console ports are initialised and used via the virtio_console driver, I can interact with only the first console, the 2nd one doesn't respond. If I call hvc_kick() even if hvc_poll() returns 0, the 2nd console becomes responsive. I've checked that hvc_poll() receives data via get_chars() and feeds it to tty_insert_flip_char(). Any idea what could be going wrong? This is reproducible on Linus' git kernel as the guest kernel with the qemu.git repo. Any pointers? Thanks, Amit
On (Wed) Mar 24 2010 [21:04:08], Amit Shah wrote:> Hello, > > When multiple hvc console ports are initialised and used via the > virtio_console driver, I can interact with only the first console, the > 2nd one doesn't respond. > > If I call hvc_kick() even if hvc_poll() returns 0, the 2nd console > becomes responsive.Actually it's not that fancy: if I login to the first console (hvc0) and then spawn another one (hvc1), I can't login into hvc1. If I spawn hvc1 before logging into hvc0, I can work with both. Amit
Apparently Analagous Threads
- Problem with multiple hvc consoles via virtio-console
- hvc - hypervisor virtual console & virsh
- [RFC 0/3]: hvc_console rework for platform without hard irqs
- [RFC 0/3]: hvc_console rework for platform without hard irqs
- [PATCH] xen/hvc: Fix polling mode to work with kdb/kgdb