Using alias under disk in XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


1 - https://libvirt.org/formatdomain.html

--
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://blog.drenet.net
PGP key   - http://www.drenet.net/pubkey.html
-=-=-=-=-=-

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux