Re: [ANNOUNCE] kvm howto

From: Magnus Damm
Date: Thu Nov 02 2006 - 10:14:25 EST


On 11/2/06, Avi Kivity <avi@xxxxxxxxxxxx> wrote:
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.

The VT-extensions added by Intel and AMD only adds a limited number of
instructions each. If you want to be user friendly it might be a good
idea to implement these instructions as macros. I'm pretty sure
VT-extension support in Xen works with my old binutils version.

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