Thanks a lot Nir! Good to know that oVirt cannot guarantee the disk names so that I don't need to spend more time trying to enable such a feature.
I can always reproduce the problem via my application, basically, the procedure is as following:
1. create a VM
2. add disks to the VM (e.g.: disk names: disk1, disk3)
3. check the disk mappings via `virsh domblklist `
4. add another disk (let's say, disk2, give a name alphabetically before some existing disks)
5. shutdown the VM via hypervisor and start it again (reboot won't work)
6. `virsh domblklist` again, then you might see the problem I mentioned before
There are no virtio devices inside /dev/disk/by-id/xxx of my guest VM. And I just noticed that the disks mapping information given by hypervisor (from VM configuration or virsh command) is different from the reality inside the VM. The disk name inside the VM was actually not changed.
So now my issue is that given a disk name (/dev/vdb) of a VM, how can I get its wwid? Before I got it from the hypervisor, but now the hypervisor's information is not reliable, and since the disk is unformatted, I cannot use UUID.
Joy