@UDvoid
2014-12-18T09:41:18.000000Z
字数 1025
阅读 2435
tar -zcvf ./kvm-kmod-2.6.32.27.tar.gz ./kvm-kmod-2.6.32.27
tar -zcvf ./qemu-kvm-vmm-api.tar.gz ./qemu-kvm-vmm-api
tar -zcvf ./userDemo.tar.gz ./userDemo
http://www.linux-kvm.org/page/HOWTO1
Debian 6 64位,内核版本2.6.32-5
kvm-kmod-2.6.32.27.tar.gz
qemu-kvm-vmm-api.tar.gz
userDemo.tar.gz
apt–get install gcc libsdl1.2-dev zlib1g-dev libasound2-dev libglib2.0-0 libglib2.0-dev linux-kernel-headers pkg-config libgnutls-dev linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common libpic-dev
1.解压到当前目录:
tar -zxvf kvm-kmod-2.6.32.27.tar.gz
2.进入到 ./kvm-kmod-2.6.32.27 目录
./configure
修改config.mak
make
/* 修改后的config.mak */
ARCH=x86_64
PROCESSOR=x86_64
PREFIX=
KERNELDIR=/lib/modules/2.6.32-5-amd64/build
KERNELSOURCEDIR=/usr/src/linux-headers-2.6.32-5-common
KERNELVERSION=2.6.32-5-amd64
CROSS_COMPILE=
CC=gcc
LD=ld
OBJCOPY=objcopy
AR=ar
KVM_VERSION=kvm-kmod-2.6.32.27
1.解压到当前目录:
tar -zxvf qemu-kvm-vmm-api.tar.gz
2.进入qemu-kvm-vmm-api目录,编译
cd qemu-kvm-vmm-api
./configure
make
make install
sudo /sbin/modprobe kvm-intel
直接解压:
tar xzf userDemo.tar.gz