]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: Format <defaultiothread/> more often
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Jul 2022 14:29:18 +0000 (16:29 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 13 Jul 2022 09:55:06 +0000 (11:55 +0200)
commit24fa7004e47ce86b92bc23c1f2ef9c3d6152c3a8
tree039402a4ee0eaae06d03cfd10978d3f5e3d9b0af
parent430ab88ab17727ac9774ee5b47f09f69c57add73
domain_conf: Format <defaultiothread/> more often

The <defaultiothread/> element is formatted inside
virDomainDefaultIOThreadDefFormat() which is called only from
virDomainDefIOThreadsFormat() (so that IOThread related stuff is
formatted calling one function). However, when there are no
<iothreadids/> defined (or only autoallocated ones are present),
then the outer formatting function exits early never calling the
<defaultiothread/> formatter.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c