[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AAA8A56.3040707@codemonkey.ws>
Date: Fri, 11 Sep 2009 12:35:18 -0500
From: Anthony Liguori <anthony@...emonkey.ws>
To: Amit Shah <amit.shah@...hat.com>
CC: Alan Cox <alan@...ux.intel.com>, rusty@...tcorp.com.au,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virtio_console: Add support for multiple ports for generic
guest and host communication
Amit Shah wrote:
> On (Fri) Sep 11 2009 [12:26:16], Anthony Liguori wrote:
>
>> 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.
>>
>
> A sysfs attribute can even be exposed with a char device.
>
> I didn't want to venture more into tty after the hvc thing and the
> unexpected bugs that crept up (memory corruption, which is now fixed in
> linux-next). I'd rather just keep it limited to the subsystems I know.
>
I don't think that's a good justification.
This device is very much a serial port. I don't see any reason not to
treat it like one.
Regards,
Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists