Skip to contentSkip to conversation

Building and Installing everything but Modules...

DISCUSSION Stuart Sheldon 3 participants 3 messages Aug 17, 2008 – Aug 18, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Another newbie question...

I've looks all over the place, and just can't seem to figure this out. I want to build and install everything but the kernel modules from release source. This will allow me to test against the vanilla modules that come with the kernel source. Can anyone point me in the right direction here?

Thanks in advance,

Stuart Sheldon

Signature · 2 lines
Randomly Generated Fortune Tag:
Many pages make a thick book.
#1 lore raw
Quoted 4 lines · Stuart Sheldon

Another newbie question...

I've looks all over the place, and just can't seem to figure this out. I want to build and install everything but the kernel modules from release source. This will allow me to test against the vanilla modules that come with the kernel source. Can anyone point me in the right direction here?

Pass --with-patched-kernel to configure, which means "use kvm modules that come with the kernel" (and no external modules).

From http://kvm.qumranet.com/kvmwiki/HOWTO1 [Unpacking and configuring kvm components]:
tar xzf kvm-release.tar.gz
cd kvm-release
./configure --prefix=/usr/local/kvm --with-patched-kernel
make
sudo make install
sudo /sbin/modprobe kvm-intel
# or: sudo /sbin/modprobe kvm-amd

#2 lore raw
In reply to Stuart Sheldon
Quoted 4 lines · Stuart Sheldon

Another newbie question...

I've looks all over the place, and just can't seem to figure this out. I want to build and install everything but the kernel modules from release source. This will allow me to test against the vanilla modules that come with the kernel source. Can anyone point me in the right direction here?

The simplest way is to compile as usual, but when installing, do a 'sudo make -C qemu install'. This will install qemu but not the modules.

Signature · 1 line
error compiling committee.c: too many arguments to function