opt/qemu/pre-install
Thomas Penteker 42d84073ff [notify] qemu/qemu-all: add udev rules for /dev/kvm
This change requires you to run the bundled pre-install script, that will a
new group 'kvm' with proper permissions for the /dev/kvm device, to allow
unprivileged users (members of the kvm group) to run kvm-accelerated qemu
instances.

Please note that this change prevents non-root and non-kvm members from using
/dev/kvm acceleration.
2014-06-20 22:29:13 +02:00

3 lines
53 B
Bash
Executable File

#!/bin/sh
getent group kvm || /usr/sbin/groupadd kvm