Package: udev
Version: 166-1
Severity: normal

Hi,

recent versions of qemu/kvm can pass through an arbitrary serial
number into the virtual machine which is then visible in /sys.

60-persistent-storage.rules already brings a rule for these:

KERNEL=="vd*",                          ATTRS{serial}=="?*", \
        ENV{ID_BUS}="virtio",   ENV{ID_SERIAL}="$attr{serial}"

However, this rule is never reached since there is a

KERNEL=="vd*", GOTO="persistent_storage_not_a_disk"

a few lines above. Disabling the GOTO line indeed makes a
/dev/disk/by-id/virtio-foo show up after an udevadm trigger.

I guess that the GOTO line is left over from an earlier stage of
development. It should probably be removed.

If you'd prefer to have this addressed upstream, I'd like to know
whether linux-hotp...@vger.kernel.org would be the right point to
report this or whether there would be a different contact point.

Your help and work is appreciated.

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to