virtio: console: Register with sysfs and create a 'name' attribute for ports
authorAmit Shah <amit.shah@redhat.com>
Mon, 21 Dec 2009 16:27:40 +0000 (21:57 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:56 +0000 (14:22 +1030)
The host can set a name for ports so that they're easily discoverable
instead of going by the /dev/vportNpn naming. This attribute will be
placed in /sys/class/virtio-ports/vportNpn/name. udev scripts can then
create symlinks to the port using the name.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found