From: Amit Shah Date: Fri, 19 Mar 2010 12:06:43 +0000 (+0530) Subject: virtio: console: Generate a kobject CHANGE event on adding 'name' attribute X-Git-Tag: v2.6.34-rc3~83^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec64213c4d482ee4d15b34511441eaecdd002adf;p=pandora-kernel.git 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 Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed