]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: don't force existance of audio child elements
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 24 Feb 2021 13:05:01 +0000 (13:05 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 9 Mar 2021 22:58:00 +0000 (22:58 +0000)
commitfe304b02f01aec6f2f1b20b6ae0ae07f9b9f0b9a
tree327b2bbd71d47caf6b5b04a64e327c00c08ebd95
parentd6b79a64e6065625f7b667a8c5acb0ed923c4569
conf: don't force existance of audio child elements

The attributes on the elements are optional, so we should not force the
elements themselves to be present, especially since we omit them when
formating the XML thus breaking round-tripping.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c