]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use transactions from security driver
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 15 Dec 2016 15:47:15 +0000 (16:47 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Jan 2017 12:04:11 +0000 (13:04 +0100)
commit095f042ed68b0162c784ad5d0eb30c289d2fcd90
treef8c735802abf02bc001a84d86b5455877c53a4b0
parent4674fc6afd6d7a22bc99a3db988fe216441def26
qemu: Use transactions from security driver

So far if qemu is spawned under separate mount namespace in order
to relabel everything it needs an access to the security driver
to run in that namespace too. This has a very nasty down side -
it is being run in a separate process, so any internal state
transition is NOT reflected in the daemon. This can lead to many
sleepless nights. Therefore, use the transaction APIs so that
libvirt developers can sleep tight again.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_security.c