qemu/60-kvm.x86.rules
Bruce Rogers 5645dec724 Accepting request 236077 from home:bfrogers:branches:Virtualization
Fix problem discovered with direct kernel boot for SLES 10 and SLES 11 guests (bnc#880625)
Only build x86 firmware on x86, to avoid randomly getting the upstream binary firmware blobs packaged, instead of the ones we try to build.
Add probing of vhost-net for SLE11 host in udev rules file.
Get rid of pmtools Buildrequires for old distros - I checked, we can't build the firmware as is for old distros correctly.

OBS-URL: https://build.opensuse.org/request/show/236077
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=213
2014-06-02 18:08:59 +00:00

3 lines
247 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; /sbin/modprobe vhost-net'"