Re: [PATCH] virtio_console: Add support for multiple ports for genericguest and host communication

From: Anthony Liguori
Date: Fri Sep 11 2009 - 13:26:24 EST


Amit Shah wrote:
Right; there was some discussion about this. A few alternatives were
suggested like

- udev scripts to create symlinks from ports to function, like:

/dev/vcon3 -> /dev/virtio-console/clipboard

- Some fqdn-like hierarchy, like

/dev/virtio-console/com/redhat/clipboard

which again can be created by udev scripts

And I dislike all of them. What I'd rather have is these devices exposed as tty's with a sys attribute that exposed the name of the device.

This is not all that different to how usb serial devices work.

Regards,

Anthony Liguori
--
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/