SHA256
1
0
forked from pool/qemu
qemu/60-kvm.x86.rules
Alexander Graf e3074d891d Accepting request 233675 from home:a_faerber:branches:Virtualization
Make udev rules available beyond x86 and clarify KVM vs. qemu-kvm conditionals. Also package ppcemb and aarch64 correctly.

OBS-URL: https://build.opensuse.org/request/show/233675
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=207
2014-05-13 08:09:26 +00:00

3 lines
221 B
Plaintext

KERNEL=="kvm", MODE="0660", GROUP="kvm"
ACTION=="add|change", SUBSYSTEM=="dmi", KERNEL=="id", RUN+="/bin/sh -c 'grep -q vmx /proc/cpuinfo && /sbin/modprobe kvm-intel; grep -q svm /proc/cpuinfo && /sbin/modprobe kvm-amd'"