Re: [ANNOUNCE] kvm howto

From: Avi Kivity
Date: Thu Nov 02 2006 - 09:32:34 EST


Hesse, Christian wrote:
On Thursday 02 November 2006 14:25, Avi Kivity wrote:
I've just uploaded a HOWTO to http://kvm.sourceforge.net, including
(hopefuly) everything needed to get kvm running. Please take a look and
comment.

CC [M] /tmp/kvm-module/kvm_main.o
{standard input}: Assembler messages:
{standard input}:168: Error: no such instruction: `vmxon 16(%esp)'
{standard input}:182: Error: no such instruction: `vmxoff'
{standard input}:192: Error: no such instruction: `vmread %eax,%eax'
{standard input}:415: Error: no such instruction: `vmwrite %ebx,%esi'
{standard input}:1103: Error: no such instruction: `vmclear 16(%esp)'
{standard input}:1676: Error: no such instruction: `vmptrld 16(%esp)'
{standard input}:4107: Error: no such instruction: `vmwrite %esp,%eax'
{standard input}:4119: Error: no such instruction: `vmlaunch '
{standard input}:4121: Error: no such instruction: `vmresume '

I get a number of errors compiling the module. No difference between the downloaded tarball and my patched kernel tree. Any hints?

You need a newer binutils. I'm using binutils-2.16.91.0.6 (gotta love that version number), shipped with Fedora Core 5.

I'll update the howto to reflect this.

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/