On 03/29/2018 05:10 PM, Andre Goree wrote:
I've been trying to follow the information found here [1] in
order to
provide an alias for RBD disks I'm defining, however it does not appear
to be working and I wanted to see if I was doing something wrong.
I define the alias like so (using 'virsh edit'):
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='writeback'
error_policy='stop' discard='unmap'/>
...truncated...
<alias name='ua-test'/>
</disk>
However, when I then 'virsh dumpxml {guest}', the alias is not there.
There is no error given after my edits are made and saved. It just
seems that libvirt is completely ignoring or removing my changes,
without reason.
Can anyone give any insight on why this might be happening, and/or help
me with the proper way of defining the alias?
This feature was introduced in 3.9.0 release. You need to upgrade in
order to use the feature.
Michal