From mboxrd@z Thu Jan 1 00:00:00 1970 From: Koen de Jonge Subject: Re: installing kvm on debian 4.0 r0 Date: Sat, 18 Aug 2007 17:53:25 +0200 Message-ID: <46C715F5.80601@procolix.com> References: <46C5FB67.7040301@procolix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Koen de Jonge Return-path: In-Reply-To: <46C5FB67.7040301-OoqVcbiag8BWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Koen de Jonge wrote: > Hi All, > > Below is how I installed kvm-35 on my debian etch installation, it may > be included in the wiki :) > > I installed the amd64 version of debian 4.0 r0 on my amd4800+ > I did all 'apt-get update' and 'apt-get upgrade' steps to get the > system updated with all latest patches. > And off course I did 'apt-get install linux-image-2.6-amd64 to get the > 2.6.18-5-amd64 kernel. > > I then used these to make the system workable: > apt-get install openssh-server > apt-get install sudo > > Then I used these as prerequisite packages for kvm: > apt-get install gcc-3.4 > apt-get install libsdl1.2-dev > apt-get install zlibc > apt-get install zlib1g-dev > apt-get install uuid-dev > apt-get install linux-kernel-headers > apt-get install libasound2-dev Installing on another machine (with no X and no nvidia card I noticed I also needed): apt-get install kernel-package apt-get install linux-headers-2.6-amd64 I allready installed these getting my X to work. > > I then downloaded kvm-35 and did: > tar zxf kvm-35.tar.gz > cd kvm-35 > ./configure --prefix=/usr/local/kvm > make > make install > modprobe kvm-amd > > I then wanted to test the i386 debian netinstall iso doing this: > /usr/local/kvm/bin/qemu-img create -f qcow test.img 2G > /usr/local/kvm/bin/qemu-system-x86_64 -hda test.img -cdrom > debian-40r0-i386-netinst.iso -boot d -m 265 > > It was very, very fast, even better than using ubuntu 7.04 but that > wasn't a fully 64 bit host os, and this debian is. > > Are you developers interested in warnings like these? > /root/kvm-35/qemu/slirp/tcp_subr.c: In function `tcp_newtcpcb': > /root/kvm-35/qemu/slirp/tcp_subr.c:210: warning: cast from pointer to > integer of different size > /root/kvm-35/qemu/slirp/tcp_subr.c: In function `tcp_close': > /root/kvm-35/qemu/slirp/tcp_subr.c:286: warning: cast to pointer from > integer of different size > /root/kvm-35/qemu/slirp/tcp_subr.c:288: warning: cast to pointer from > integer of different size > /root/kvm-35/qemu/slirp/tcp_subr.c:289: warning: cast to pointer from > integer of different size > /root/kvm-35/qemu/slirp/tcp_subr.c:289: warning: cast to pointer from > integer of different size > /root/kvm-35/qemu/slirp/tcp_subr.c:290: warning: cast to pointer from > integer of different size > > Greetz, > Koen > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/