- Allow blacklisting of kvm modules

This commit is contained in:
Lubomir Rintel 2009-08-17 03:21:08 +00:00
parent 0c2ae8473a
commit baac61481c
2 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then
modprobe kvm-intel >/dev/null 2>&1
modprobe -b kvm-intel >/dev/null 2>&1
fi
if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then
modprobe kvm-amd >/dev/null 2>&1
modprobe -b kvm-amd >/dev/null 2>&1
fi

View File

@ -4,7 +4,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 0.10.91
Release: 0.5.%{kvmvertag}%{?dist}
Release: 0.6.%{kvmvertag}%{?dist}
# Epoch because we pushed a qemu-1.0 package
Epoch: 2
License: GPLv2+ and LGPLv2+ and BSD
@ -484,6 +484,9 @@ getent passwd qemu >/dev/null || \
%{_mandir}/man1/qemu-img.1*
%changelog
* Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
- Allow blacklisting of kvm modules
* Fri Aug 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
- Fix virtio_net with -net user (#516022)