]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix dynamic_ownership qemu.conf setting
authorCole Robinson <crobinso@redhat.com>
Mon, 28 Sep 2015 23:47:09 +0000 (19:47 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 29 Sep 2015 12:26:52 +0000 (08:26 -0400)
commit68572de8228e3971174a83c227fcb018d6f684c7
tree39de5fbcea89cdef29eaae33b8e522cbc66f42fa
parentd72a8f7465896572b38521d1d3e82e7d36eb3f4e
qemu: Fix dynamic_ownership qemu.conf setting

Commit 307fb904 (Sep 10) added a 'privileged' variable when creating
the DAC driver:

@@ -153,6 +157,7 @@ virSecurityManagerNewDAC(const char *virtDriver,
                          bool defaultConfined,
                          bool requireConfined,
                          bool dynamicOwnership,
+                         bool privileged,
                          virSecurityManagerDACChownCallback chownCallback)

But argument order is mixed up at the caller, swapping dynamicOwnership
and privileged values. This corrects the argument order

https://bugzilla.redhat.com/show_bug.cgi?id=1266628
src/qemu/qemu_driver.c