public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] kvm howto
@ 2006-11-02 13:25 Avi Kivity
  2006-11-02 14:27 ` Hesse, Christian
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2006-11-02 13:25 UTC (permalink / raw)
  To: kvm-devel; +Cc: linux-kernel, Andrew Morton

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.

BTW, we have the AMD port running with fairly impressive performance.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm howto
  2006-11-02 13:25 [ANNOUNCE] kvm howto Avi Kivity
@ 2006-11-02 14:27 ` Hesse, Christian
       [not found]   ` <200611021527.09664.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hesse, Christian @ 2006-11-02 14:27 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, linux-kernel, Andrew Morton

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

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?
-- 
Regards,
Christian

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm howto
       [not found]   ` <200611021527.09664.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
@ 2006-11-02 14:32     ` Avi Kivity
       [not found]       ` <454A0165.7090009-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2006-11-02 14:32 UTC (permalink / raw)
  To: Hesse, Christian
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Andrew Morton,
	linux-kernel

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


-------------------------------------------------------------------------
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] 5+ messages in thread

* Re: [ANNOUNCE] kvm howto
       [not found]       ` <454A0165.7090009-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2006-11-02 15:14         ` Magnus Damm
       [not found]           ` <aec7e5c30611020714qe6bcc41ucc789e3a2ca85c1f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Magnus Damm @ 2006-11-02 15:14 UTC (permalink / raw)
  To: Avi Kivity
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Andrew Morton,
	linux-kernel

On 11/2/06, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 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

-------------------------------------------------------------------------
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] 5+ messages in thread

* Re: [ANNOUNCE] kvm howto
       [not found]           ` <aec7e5c30611020714qe6bcc41ucc789e3a2ca85c1f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2006-11-02 15:19             ` Avi Kivity
  0 siblings, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2006-11-02 15:19 UTC (permalink / raw)
  To: Magnus Damm
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Andrew Morton,
	linux-kernel

Magnus Damm wrote:
>>
>> 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.
>

Yes, Xen uses macros.

I figured a newish machine will have a newish binutils.  Looks like I 
was wrong.  I don't like uglifying the code, but if many users hit this, 
there won't be much of a choice.

[A minor problem with macros is that you can't let gcc choose the 
registers for you with instructions that have operands]

-- 
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] 5+ messages in thread

end of thread, other threads:[~2006-11-02 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 13:25 [ANNOUNCE] kvm howto Avi Kivity
2006-11-02 14:27 ` Hesse, Christian
     [not found]   ` <200611021527.09664.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
2006-11-02 14:32     ` Avi Kivity
     [not found]       ` <454A0165.7090009-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-02 15:14         ` Magnus Damm
     [not found]           ` <aec7e5c30611020714qe6bcc41ucc789e3a2ca85c1f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-02 15:19             ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox