]> git.ipfire.org Git - ipfire-2.x.git/commit
Qemu: add a group kvm to access /dev/kvm eaiser
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 17 Jun 2016 11:06:40 +0000 (13:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Jun 2016 15:25:29 +0000 (16:25 +0100)
commit5cc7ae0926454f93998f7c25b931dae7eec0539d
treefa57fe4823922576fa86695279918be4e3295b7e
parent1dd61e0594e92155642039d3229e1505f8aea937
Qemu: add a group kvm to access /dev/kvm eaiser

As a normal user, it is not possible to use qemu with KVM. This is bad
because it is better when it is possible to start the machine with a
less privileged user. To achieve this a group KVM is created and the
access to /dev/kvm is allowed for this group. So every user in this
group can use qemu with KVM.
This change is also useful for libvirt because the VMs can be started
with user nobody and group kvm.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/qemu/65-kvm.rules [new file with mode: 0644]
config/rootfiles/packages/qemu
lfs/qemu
src/paks/qemu/install.sh