]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Format <allowReboot> conditionally
authorAndrea Bolognani <abologna@redhat.com>
Thu, 24 Mar 2022 18:49:40 +0000 (19:49 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 5 Apr 2022 11:40:22 +0000 (13:40 +0200)
commitc49651ac1772627349dccb9274a35befbcb473f9
tree8a97ee322357259133ee052006e756e165385c9d
parent817aa450258cddcccb4cdad52262ef52a85818e3
qemu: Format <allowReboot> conditionally

If the value is VIR_TRISTATE_BOOL_ABSENT we should just omit
the element entirely.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c