]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Check usage count of qemu:override node
authorJustin Gatzen <justin.gatzen@gmail.com>
Thu, 21 Apr 2022 01:48:03 +0000 (21:48 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 21 Apr 2022 09:09:54 +0000 (11:09 +0200)
commit04736179b283f55f62616a20a1ec95c665aab8ca
tree46b8bc53fedaf6c6631154aa5ec1e979f2fc7ea0
parentabafffb931574e036024640b3732283f2b964e3e
qemu: Check usage count of qemu:override node

When <qemu:override> is the only usage of the qemu namespace the entire
section is mistakenly removed. Add check for use count.

Signed-off-by: Justin Gatzen <justin.gatzen@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c