Using Rusty's suggestion I've respun the patch removing the special copy
function.  I've tested this patch in a guest kernel with and without qemu
supplying serial numbers for the block devices and it's working as expected.
When qemu supplies serial numbers, the correct value is supplied to
/sys/block/vdX/serial and can be used by udev for generating disk/by-id paths
(without separate utility).  When running without serial number support the path
still exists in sysfs but produces no output.

Signed-off-by: Ryan Harper <ry...@us.ibm.com>

Reply via email to