]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Clean up security driver initialisation and config file
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Aug 2012 08:58:09 +0000 (10:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 30 Aug 2012 14:45:38 +0000 (16:45 +0200)
commit46514ff752d7d304c8431f87a8cf55d54ba0f544
tree3b316b50bed8de2a66805ba6183a8b8feb58d8f8
parent7444ccce4cb4af1ce61eb4c2c9ce4f69ea276e9c
qemu: Clean up security driver initialisation and config file

Commit d0c0e79ac646462aaa815f81ad324a0d3ef12954 left behind some dead
code (hasDAC can't be efectively set to true, because
virSecurityManagerNew fails to load the "dac" driver).

This patch also enhances the condition for adding the default
auto-detected security manager if the manager array is allocated but
empty.

Also the configuration file for qemu driver still contains reference to
the DAC driver that can't be enabled manualy.
src/qemu/qemu.conf
src/qemu/qemu_driver.c