add kvm.modules to cvs

This commit is contained in:
Glauber Costa 2009-03-04 00:11:57 +00:00
parent 8571d06737
commit b8bea8421f
2 changed files with 13 additions and 1 deletions

9
kvm.modules Executable file
View File

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

View File

@ -1,7 +1,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 0.10
Release: 0.1.kvm20090303git%{?dist}
Release: 0.2.kvm20090303git%{?dist}
# I have mistakenly thought the revision name would be 1.0.
# So 0.10 series get Epoch = 1
Epoch: 1
@ -340,6 +340,9 @@ fi
%{_mandir}/man1/qemu-img.1*
%changelog
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
- put kvm.modules into cvs
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
- Set Epoch to 1
- Build KVM (basic build, no tools yet)