public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Simon Kagstrom <simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] Compile fixes for 32-bit targets (trivial), questions
Date: Wed, 08 Nov 2006 16:47:19 +0100	[thread overview]
Message-ID: <87mz72hreg.wl%simon.kagstrom@bth.se> (raw)

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

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

  * 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

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.

// Simon


[-- Attachment #2: load_TR_desc.patch --]
[-- Type: application/octet-stream, Size: 297 bytes --]

--- orig/kvm-module/kvm_main.c	2006-10-30 16:37:39.000000000 +0100
+++ kvm-module/kvm_main.c	2006-11-08 15:51:23.000000000 +0100
@@ -30,6 +30,7 @@
 #include <linux/debugfs.h>
 #include <linux/highmem.h>
 #include <linux/file.h>
+#include <asm/desc.h>
 
 #include "vmx.h"
 #include "x86_emulate.h"

[-- Attachment #3: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

             reply	other threads:[~2006-11-08 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 15:47 Simon Kagstrom [this message]
     [not found] ` <87mz72hreg.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-09 11:15   ` [PATCH] Compile fixes for 32-bit targets (trivial), questions Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mz72hreg.wl%simon.kagstrom@bth.se \
    --to=simon.kagstrom-6uc+yi3s9p8@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox