]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: domcaps: Don't output XML on tristate ABSENT
authorCole Robinson <crobinso@redhat.com>
Tue, 19 Feb 2019 19:12:47 +0000 (14:12 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 18 Mar 2019 14:51:02 +0000 (10:51 -0400)
commite3119a3323f5370296125b2dc48b92d12e39f099
tree580a60e4fca466ac4795180f36181e4c8d883a9b
parent91e85d8939c0cba9eaece72da20e0ffb3fcc449b
conf: domcaps: Don't output XML on tristate ABSENT

Change domcaps to skip formatting XML if the default
TRISTATE_BOOL_ABSENT is found. Now when domcaps is extended, driver
XML output won't change until an explicit TRISTATE_BOOL value is set
in driver code.

Acked-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/conf/domain_capabilities.c
tests/domaincapsschemadata/empty.xml