]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use VIR_ERR_CONFIG_UNSUPPORTED if requested security driver is disabled
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 10 Aug 2012 13:04:17 +0000 (14:04 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 14 Aug 2012 14:31:26 +0000 (15:31 +0100)
commit51b23ed31a5915ed437e4dd149bc4c8e04a4bcc4
tree0b8e372b65635e288b6cf58ec1f953d1f7dfbb4c
parentfd016806df3e2a3a8750c9c18a86dd0963da6479
Use VIR_ERR_CONFIG_UNSUPPORTED if requested security driver is disabled

There is currently no way to distinguish the case that a requested
security driver was disabled, from the case where no security driver
was available. Use VIR_ERR_CONFIG_UNSUPPORTED as the error when an
explicitly requested security driver was disabled

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/security/security_driver.c