I've got a QEMU/KVM VM with gentoo linux as the host and gentoo linux as the guest. The guest has 3 virtio disks attached and 1 sata dvdrom. in the guest: localhost ~ # ls -l /dev/vd? brw-rw---- 1 root disk 254, 0 Aug 13 10:24 /dev/vda brw-rw---- 1 root disk 254, 16 Aug 13 10:24 /dev/vdb brw-rw---- 1 root disk 254, 32 Aug 13 11:47 /dev/vdc localhost ~ # ls -l /dev/disk/by-id/ total 0 lrwxrwxrwx 1 root root 9 Aug 13 10:24 ata-QEMU_DVD-ROM_QM00001 -> ../../sr0
I don't think virtio disks have any hardware IDs that could be used for this. Regardless, this is probably not a Gentoo-specific behavior. If you want something changed, create an issue upstream.