I am using.
virsh -c qemu:///system edit VM-Name
And adding comments.
<!-- test comment here -->
It won't complain.* But the comment is removed.
*Usually if you make a syntax error (for example add an extra >
) somewhere), it says something like this.
error: (domain_definition):75: Extra content at the end of the document
>
^
Failed. Try again? [y,n,f,?]:
Is there any way to preserve comments in virsh
/ libvirt
xml
files?