https://bugzilla.novell.com/show_bug.cgi?id=755415 https://bugzilla.novell.com/show_bug.cgi?id=755415#c1 --- Comment #1 from Alexander Bergmann <abergmann@novell.com> 2012-04-03 14:22:59 UTC --- You can specify a serial number in your libvirt profile. http://libvirt.org/formatdomain.html#elementsDisks serial If present, this specify serial number of virtual hard drive. For example, it may look like <serial>WD-WMAP9A966149</serial>. Since 0.7.1 #> virsh attach-disk glas /tmp/test.qcow2 vdb --subdriver qcow2 --driver qemu --serial test001 <disk type='block' device='disk'> <driver name='qemu' type='qcow2'/> <source dev='/tmp/test.qcow2'/> <target dev='vdb' bus='virtio'/> <serial>test001</serial> <alias name='virtio-disk1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </disk> #> ls -lhtr /dev/disk/by-id/virtio* lrwxrwxrwx 1 root root 9 Apr 3 16:25 /dev/disk/by-id/virtio-test001 -> ../../vdf #> udevadm info --query=all --name=/dev/vdf P: /devices/pci0000:00/0000:00:0d.0/virtio6/block/vdf N: vdf W: 69 S: block/252:80 S: disk/by-id/virtio-test001 S: disk/by-path/pci-0000:00:0d.0-virtio-pci-virtio6 E: UDEV_LOG=3 E: DEVPATH=/devices/pci0000:00/0000:00:0d.0/virtio6/block/vdf E: MAJOR=252 E: MINOR=80 E: DEVNAME=/dev/vdf E: DEVTYPE=disk E: SUBSYSTEM=block E: ID_SERIAL=test001 E: ID_PATH=pci-0000:00:0d.0-virtio-pci-virtio6 E: DEVLINKS=/dev/block/252:80 /dev/disk/by-id/virtio-test001 /dev/disk/by-path/pci-0000:00:0d.0-virtio-pci-virtio6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.