On 11/10/25 17:20, Peter Krempa via Devel wrote:
> The default from libxml2 is '1' which we wanted. Thus all use in
> separate processes is okay, and for the few exceptions (see 2/2) the
> resulting XML is mis-indented but valid for any app which would override
> it.
>
> Peter Krempa (2):
> virVBoxSnapshotConfSaveVboxFile: Don't modify deprecated
> 'xmlIndentTreeOutput'
> virXMLFormatMetadata: Don't modify deprecated 'xmlIndentTreeOutput'
>
> src/util/virxml.c | 10 ----------
> src/vbox/vbox_snapshot_conf.c | 5 -----
> 2 files changed, 15 deletions(-)
>
It's a bit unfortunate that libxml2 deprecated an API without offering a
replacement, but since the newest version is getting into distros and
causing us compile-time warnings we have to act.
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Michal