]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Validate VIR_DOMAIN_FEATURE_CAPABILITIES properly
authorAndrea Bolognani <abologna@redhat.com>
Thu, 1 Feb 2018 11:35:15 +0000 (12:35 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 13 Feb 2018 13:39:58 +0000 (14:39 +0100)
commit53072064745731e8c887f8ee71092060a4025c62
treece0d481bc0fd858262890cffb26ae6122efbaafd
parenta975c95967e5da43c231601913ccb2077c8434b6
conf: Validate VIR_DOMAIN_FEATURE_CAPABILITIES properly

Unlike most other features, VIR_DOMAIN_FEATURE_CAPABILITIES is
of type virDomainCapabilitiesPolicy instead of virTristateSwitch,
so we need to handle it separately for the error message to make
sense.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c