On Wed, Jan 10, 2007 at 08:48:41PM +0200, Avi Kivity wrote: > Jeremy Katz wrote: > >On Wed, 2007-01-10 at 00:11 +0100, Gianluca Cecchi wrote: > > > >>probably more correct to post to fedora extra, but as kernel is also > >>affected, I try to post also here. Sorry for your extra-time. > >>I have an updated fc6 (2.6.18-1.2869.fc6) and I installed the > >>kvm-9-1.i386.rpm package found under extras-development. > >>But this gives me only the user space modified version of qemu > >>(qemu-kvm is the only file included). > >> > > > >It's intentionally in the devel tree only as that's the only place where > >the kernel has the support. When the FC6 kernel goes to 2.6.20 (which > >it eventually will), then adding the package for FE6 will make sense. > > > > It's fairly trivial to backport kvm (it runs as a module on kernels as > old as 2.6.16) if it is desired to give FC6 users a technology preview. > > It would certainly help kvm by expanding the userbase. The attached DKMS module RPM spec file WorksForMe. -Bill
%define module kvm Name: dkms-%{module} Version: 10 Release: 0.1 Summary: DKMS package for the %{module} kernel module Group: System Environment/Kernel License: GPL URL: http://kvm.sourceforge.net Source0: %{module}-%{version}.tar.gz Source1: %{module}-dkms.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArchitectures: noarch Requires: dkms %description This driver provides hardware-assisted Kernel-based virtualization, utilizing the QEMU BIOS and device emulation. Requires an Intel-VT or or AMD-SVM capable processor. KVM extends the existing kernel and user execution modes to include a third: guest. Virtual machines created with KVM are Linux processes, and behave similarly to dosemu operating in vm86 mode: they can be scheduled, traced, killed, etc. All VM I/O is done by trapping to userspace. On x86_64 platforms, KVM supports both 32-bit and 64-bit guests. This package provides the kernel driver module. It is used in conjunction with the kvm userpace tools. %prep %setup -q -n %{module}-%{version} cd kernel sed -e 's/\@VERSION@/%{version}/g' < %{SOURCE1} > dkms.conf %build %install [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}/usr/src/%{module}-%{version}-%{release}/ tar -C kernel -c . | tar -xC %{buildroot}/usr/src/%{module}-%{version}-%{release}/ %clean [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %attr(0755,root,root) /usr/src/%{module}-%{version}-%{release}/ %post set -x # dkms should (un)set ARCH, but it does not. unset ARCH /usr/sbin/dkms --rpm_safe_upgrade add -m %{module} -v %{version}-%{release} && \ /usr/sbin/dkms --rpm_safe_upgrade build -m %{module} -v %{version}-%{release} && \ /usr/sbin/dkms --rpm_safe_upgrade install -m %{module} -v %{version}-%{release} || : %preun set -x unset ARCH /usr/sbin/dkms --rpm_safe_upgrade remove -m %{module} -v %{version}-%{release} --all || : %changelog * Mon Jan 08 2007 Bill Rugolsky <bill@xxxxxxxxxxxx> 10-0..1 - kvm-10. * Fri Aug 18 2006 Bill Rugolsky <bill@xxxxxxxxxxxx> 7-0.1 - Initial packaging.
PACKAGE_NAME=kvm PACKAGE_VERSION=@VERSION@ DEST_MODULE_LOCATION[0]="/kernel/drivers/kvm" BUILT_MODULE_NAME[0]=kvm DEST_MODULE_LOCATION[1]="/kernel/drivers/kvm" BUILT_MODULE_NAME[1]=kvm-amd DEST_MODULE_LOCATION[2]="/kernel/drivers/kvm" BUILT_MODULE_NAME[2]=kvm-intel # MAKE[0]='env -u ARCH make -C $kernel_source_dir M=`pwd`' AUTOINSTALL=yes
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list