From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Compile fixes for 32-bit targets (trivial), questions Date: Thu, 09 Nov 2006 13:15:21 +0200 Message-ID: <45530DC9.8020907@qumranet.com> References: <87mz72hreg.wl%simon.kagstrom@bth.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: To: Simon Kagstrom In-Reply-To: <87mz72hreg.wl%simon.kagstrom-6Uc+yI3S9P8@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 Simon Kagstrom wrote: > Hello! > > I wanted to try out KVM and followed the HOWTO. It worked fine, except > for two things: > > * libuuid-dev is needed for qemu, which would be good if added to > the prerequisites > Will do. > * The build of kvm.ko failed since load_TR_desc() was not defined > (I've been building for a 32-bit target). The patch below fixes > that, if the development branch does not already fix this > Applied, thanks. > Booting and old harddisk image I had worked fine with > /usr/local/kvm/bin/qemu-system-x86_64, but it did so even without the > kvm module (on a x86_64 this was not the case), so it seems that the > 32-bit version doesn't really do very much yet. > I think it wants the regular qemu binary (named qemu) for 32-bit. The instructions are 64-bit specific. I'll check and update. You can detect kvm operation using lsof -p `pgrep qemu` (which should show /dev/kvm opened) and using top (guest time shows as system time). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642