]> xenbits.xensource.com Git - libvirt.git/commit
qemu: make qemu processes to retain rawio capability
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Tue, 31 Jan 2012 04:52:00 +0000 (23:52 -0500)
committerLaine Stump <laine@laine.org>
Tue, 31 Jan 2012 18:36:38 +0000 (13:36 -0500)
commit74e034964c32edb1732d0ff7642f3977f3587d72
treec1cd4e996f688cacf4a9558fa98ee573e6fcb11d
parentc2e146bfb009a542863189ab40b4fd063b99a3f9
qemu: make qemu processes to retain rawio capability

This patch revises qemuProcessStart() function for qemu
processes to retain CAP_SYS_RAWIO if needed.
And in case of that, add taint flag to domain.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Shota Hirae <m11g1401@hibikino.ne.jp>
src/qemu/qemu_domain.c
src/qemu/qemu_process.c