* [PATCH] Compile fixes for 32-bit targets (trivial), questions
@ 2006-11-08 15:47 Simon Kagstrom
[not found] ` <87mz72hreg.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Simon Kagstrom @ 2006-11-08 15:47 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Compile fixes for 32-bit targets (trivial), questions
[not found] ` <87mz72hreg.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
@ 2006-11-09 11:15 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2006-11-09 11:15 UTC (permalink / raw)
To: Simon Kagstrom; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-09 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 15:47 [PATCH] Compile fixes for 32-bit targets (trivial), questions Simon Kagstrom
[not found] ` <87mz72hreg.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org>
2006-11-09 11:15 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox