commit | 431edb8a8bca71008fefceadf53b9315ef7196ec | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Mon Dec 21 21:57:40 2009 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 24 14:22:56 2010 +1030 |
tree | def6892310b7a09ecf6bfbc01dc3cd0a2819fca7 | |
parent | 3c7969ccb569968a79fab3729075751bc8fc2f78 [diff] |
virtio: console: Register with sysfs and create a 'name' attribute for ports 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>