[libvirt PATCH 2/2] meson: Detect and reject invalid rst2html5 command

2021-08-09 Thread Andrea Bolognani
The version coming from the rst2html5 package instead of the docutils package is unable to successfully generate the libvirt documentation. Examples of users encountering build issues because of the wrong version of rst2html5 being installed on their systems:

[libvirt PATCH 0/2] meson: Detect and reject invalid rst2html5 command

2021-08-09 Thread Andrea Bolognani
Previous attempt at solving this issue: https://listman.redhat.com/archives/libvir-list/2021-June/msg00097.html The solution presented here should be way more future-proof, though there's of course always the risk that the format used to report version information will change in a way that

[libvirt PATCH 1/2] meson: Use 'rst2html5' instead of 'rst2html' everywhere

2021-08-09 Thread Andrea Bolognani
We only use the HTML5 version these days. Signed-off-by: Andrea Bolognani --- docs/go/meson.build | 2 +- docs/kbase/meson.build| 2 +- docs/manpages/meson.build | 2 +- docs/meson.build | 8 meson.build | 2 +- 5 files changed, 8 insertions(+), 8

[PATCH] domain_conf: Fix memory leak when free'ing virDomainObj

2021-08-09 Thread Luke Yue
Free dom->deprecations when free'ing virDomainObj Signed-off-by: Luke Yue --- src/conf/domain_conf.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 09da4ab952..2527cd1d70 100644 --- a/src/conf/domain_conf.c +++