commit | ec64213c4d482ee4d15b34511441eaecdd002adf | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Fri Mar 19 17:36:43 2010 +0530 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Mar 22 14:24:53 2010 +0200 |
tree | 58f9ada4b6c82fffe9e0da2b72aa64bf879a5718 | |
parent | 220bf991b0366cc50a94feede3d7341fa5710ee4 [diff] |
virtio: console: Generate a kobject CHANGE event on adding 'name' attribute When the host lets us know what 'name' a port is assigned, we create the sysfs 'name' attribute. Generate a 'change' event after this so that udev wakes up and acts on the rules for virtio-ports (currently there's only one rule that creates a symlink from the 'name' to the actual char device). Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>