From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754512AbZIKR0Q (ORCPT ); Fri, 11 Sep 2009 13:26:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752179AbZIKR0P (ORCPT ); Fri, 11 Sep 2009 13:26:15 -0400 Received: from mail-yx0-f176.google.com ([209.85.210.176]:35917 "EHLO mail-yx0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbZIKR0P (ORCPT ); Fri, 11 Sep 2009 13:26:15 -0400 Message-ID: <4AAA8838.1080106@codemonkey.ws> Date: Fri, 11 Sep 2009 12:26:16 -0500 From: Anthony Liguori User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Amit Shah CC: Alan Cox , rusty@rustcorp.com.au, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] virtio_console: Add support for multiple ports for generic guest and host communication References: <1252678386-17404-1-git-send-email-amit.shah@redhat.com> <1252678386-17404-2-git-send-email-amit.shah@redhat.com> <20090911170010.34c80f2d@linux.intel.com> <20090911163806.GB25535@amit-x200.redhat.com> In-Reply-To: <20090911163806.GB25535@amit-x200.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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