Re:Libvirt – The Unsung Hero of Cloud Computing (2013)
by formerly_proven on Friday September 04, 2020 @05:31AM
(#24373311)
That has to be a recent change, because editing the XML used to cause it to roundtrip through libvirt, which doesn't keep the XML DOM around; anything not in the internal C structs would be removed from the files, including all comments.
[ Parent
| on HN ]
Re:Libvirt – The Unsung Hero of Cloud Computing (2013)
by dijit on Friday September 04, 2020 @11:05AM
(#24375569)
I’m not sure fully how it works internally I’m afraid. But I was doing this in 2013-2014 if that’s any indicator of timeframe.
Re:Libvirt – The Unsung Hero of Cloud Computing (2013)
by formerly_proven on Friday September 04, 2020 @11:59AM
(#24376123)
Weird, I've done it quite recently on a Debian system and it reformatted & removed everything it doesn't know from the XML. If you Google this, it's a common issue and apparently the reason why the top-level "metadata" tag was added, because that metadata-tag is carried around as DOM, so doesn't get purged.