fb067ac4a4
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
3 lines
247 B
Plaintext
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'"
|