[PATCH v10 0/1] virtio-console: Support for generic ports and multiple consoles

From: Amit Shah
Date: Tue Nov 03 2009 - 11:40:03 EST

(Rusty, would it improve the chances of getting this patch in your
tree if this description were written with latex instead of without

Here is a new iteration of the patch series that implements a
transport for guest and host communications.

I've tested for compatibility (old qemu & new kernel, new qemu & old
kernel, new qemu & new kernel) and it all works fine. To maintain
backward compatibility, the first port to be spawned (port at id 0) is
to be a console port, to be bound to hvc. This keeps new host, old
guest happy.

A testsuite is put up at the following site that has an interactive
test program that can be run in the guest. It also has an automated
test suite that tests the major functionalities presented here:


This version passes all the automated tests there.

Christian has tested the console functionality on s390.

- only one process can open a port in the guest
- minor fixes for throttling and caching cases

Please review and apply,

Amit Shah (1):
virtio_console: Add support for multiple ports for generic guest and
host communication

drivers/char/Kconfig | 6 +
drivers/char/virtio_console.c | 1412 ++++++++++++++++++++++++++++++++++++----
include/linux/virtio_console.h | 50 ++-
3 files changed, 1332 insertions(+), 136 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/