]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix qemu.conf security_driver
authorCole Robinson <crobinso@redhat.com>
Wed, 10 Aug 2016 14:32:03 +0000 (10:32 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 Aug 2016 14:41:07 +0000 (10:41 -0400)
commit856965b36246b26002af409262846317477ea631
treed5e04d070ec8a3179bb307693b7b48ccccb7d95b
parenta220f43a65cca6c6f2ca268cdbbf8f997b2e2b13
qemu: fix qemu.conf security_driver

Since a9331394 (first release v2.1.0), specifying a manual
security_driver setting in qemu.conf causes the daemon to fail to
start, erroring with 'Duplicate security driver X'.

The duplicate checking was incorrectly comparing every entry
against itself, guaranteeing a false positive.

https://bugzilla.redhat.com/show_bug.cgi?id=1365607
src/qemu/qemu_conf.c