Compile and Install KVM on Linux (Improved)

เนื่องจากการบ้าน CS797 Exercise 3 – Compile and Install KVM on your Ubuntu System เป็นการ Compile บน Linux ที่ติดตั้งใน VMware พบว่ามีข้อความ Error เกี่ยวกับ Hardware ที่ไม่รองรับ

จึงทดลอง Compile อีกครั้ง โดย Compile บน Linux ที่ติดตั้งบน Laptop (BenQ S32W) พบว่าไม่มีข้อความ Error แล้ว รายละเอียด ดังนี้

Prerequisites

- ทำเหมือน Compile and Install KVM on Linux หรือ Compile and Install KVM on Linux

- สิ่งที่ติดตั้งเพิ่มเติม
$ sudo apt-get install uuid uuid-dev curl libcurl4-dev libaio-dev libbluetooth-dev libvdeplug2-dev texi2html perl

Unpacking and Configuring

kvm-kmod

- ดาวน์โหลดและติดตั้งเหมือนเดิม จนกระทั่งถึงขั้นตอน add module ให้กับ kernel
$ sudo /sbin/modprobe kvm-intel

- ผลที่ได้คือ ไม่มีข้อความ Error แล้ว

qemu-kvm

- ดาวน์โหลดไฟล์เดิม – แก้ไขส่วนของ configure โดยเพิ่มให้ enable หลาย ๆ อย่าง
$ ./configure --prefix=/opt/kvm --enable-debug --enable-sdl --enable-curses --enable-kvm --enable-system --enable-system --enable-linux-user --enable-guest-base --with-kvm-trace --enable-uuid --enable-curl --enable-linux-aio --target-list=x86_64-softmmu,i386-softmmu --audio-drv-list=oss,alsa,sdl,esd,pa --audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus --enable-mixemu --enable-bluez --enable-vde

Using KVM

- ใช้งาน kvm ที่ได้จากการ Compile พบว่า ไม่มีข้อความ Error

Mirror Site

- http://phithak.com/compile-and-install-kvm-on-linux-improve
- http://phithak.wordpress.com/2010/08/01/compile-and-install-kvm-on-linux-improve/

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.