- Minor
I just updated to Unraid v7 and checking out the new VM manager features, I noticed the vDisk discard drop down is not populating properly and does not allow selecting either value. My vDisk XML is:
<disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback' discard='unmap'/> <source file='/mnt/user/domains/Windows/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </disk>
The discard dropdown is blank and after selecting a value, it momentarily flashes as the selected value and then immediately disappears again. It does the same even if I remove the discard value from the XML. Saving the config sets the XML value to ignore, even when it's already present as unmap.
Also, when using the inline XML view, the XML doesn't update after changing a selection in the UI. I'd expect it to reflect the currently selected UI values.
One more minor thing, it would make sense to remove the excess indentation in the inline XML. For example, the vDisk XML above is shown as:
<disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback' discard='unmap'/> <source file='/mnt/user/domains/Windows/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </disk>
The indentation is removed from the first line, but an extra four spaces are present on all the other lines. I'd expect it to be formatted as it is above.