]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor initialisation of security drivers.
authorPeter Krempa <pkrempa@redhat.com>
Wed, 29 Aug 2012 12:19:39 +0000 (14:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 29 Aug 2012 14:18:41 +0000 (16:18 +0200)
commiteb8e9b6027512edf2c93343f430e7e6429af0ff5
treee59071ffac7c1ac926f3d2502f65e60bb1f1266b
parentba150e5504d81b24c81556d9be2ab4d3a4904a56
qemu: Refactor initialisation of security drivers.

The security driver loading code in qemu has a flaw that causes it to
register the DAC security driver twice. This causes problems (machines
unable to start) as the two DAC drivers clash together.

This patch refactors the code to allow loading the DAC driver even if
its specified in configuration (it can't be registered as a common
security driver), and does not add the driver twice.
src/qemu/qemu_driver.c