kvm howto
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.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 3 lines · Avi Kivity
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?
Signature · 2 lines
Regards, Christian
Quoted 19 lines · Christian
Quoted 4 lines · Avi Kivity
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 '
Quoted 3 lines
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.
Signature · 8 lines
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
Quoted 20 lines · Avi Kivity
Quoted 19 lines · Christian
Quoted 4 lines · Avi Kivity
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 '
Quoted 6 lines
Quoted 3 lines
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
Quoted 9 lines · Magnus Damm
Quoted 3 lines
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]
Signature · 8 lines
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
Quoted 3 lines · Avi Kivity
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.
I have some problems on Thinkpad z61t with Core Duo T2500./proc/cpuinfo shows "vmx" in flags, but module refuses to load:
[17462106.632000] kvm: disabled by bios
I wandered around BIOS setup (latest version), but didn't found
anything about virtualization. Is BIOS check really necessary?
Signature · 2 lines
Tomasz Torcz 72->| 80->| [email protected] 72->| 80->|
The BIOS check is a must, it checks bit #0 of MSR_IA32_FEATURE_CONTROL, if it set this means that software cannot write to the MSR. If bit #2 is clear too then when executing vmxon you'll get #GP.
So the check should better be there...
--
Dor Laor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tomasz Torcz
Sent: Sunday, November 05, 2006 7:14 PM
To: linux-kernel
Subject: Re: [ANNOUNCE] kvm howto
Quoted 2 lines · Avi Kivity
I've just uploaded a HOWTO to http://kvm.sourceforge.net, including (hopefuly) everything needed to get kvm running. Please take a look
and
Quoted 1 line
comment.
I have some problems on Thinkpad z61t with Core Duo T2500./proc/cpuinfo shows "vmx" in flags, but module refuses to load:
[17462106.632000] kvm: disabled by bios
I wandered around BIOS setup (latest version), but didn't found
anything about virtualization. Is BIOS check really necessary?
Signature · 4 lines
Tomasz Torcz 72->| 80->| [email protected] 72->| 80->|
overriding BIOS (was: Re: [ANNOUNCE] kvm howto)
Quoted 5 lines · Dor Laor
The BIOS check is a must, it checks bit #0 of
MSR_IA32_FEATURE_CONTROL, if it set this means that software cannot write to the MSR. If bit #2 is clear too then when executing vmxon you'll get #GP.So the check should better be there...
You were right, just writing to this MSR (via kvm_enable) halts my laptop.
Which is kinda strange, as this solution works on Intel Mac Minis.
Anyway, complaint to Lenovo sent and got ignored.
Signature · 2 lines
Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.'' [email protected] -- Mitchell Blank on LKML
-------------------------------------------------------------------------
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
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: overriding BIOS (was: Re: [ANNOUNCE] kvm howto)
Quoted 5 lines · Tomasz Torcz
Quoted 4 lines · Dor Laor
The BIOS check is a must, it checks bit #0 of
MSR_IA32_FEATURE_CONTROL, if it set this means that software cannot write to the MSR. If bit #2 is clear too then when executing vmxon you'll get #GP.
Quoted 7 lines
Quoted 1 line
So the check should better be there...
You were right, just writing to this MSR (via
kvm_enable) halts my laptop.
Which is kinda strange, as this solution works on Intel Mac Minis.Anyway, complaint to Lenovo sent and got ignored.
the linux-ready firmware developer kit now tries to test for this; with some luck the bios people will run this and fix it ;)
Signature · 9 lines
if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org ------------------------------------------------------------------------- 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
Quoted 10 lines · Tomasz Torcz
Quoted 2 lines · Avi Kivity
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.
I have some problems on Thinkpad z61t with Core Duo T2500.
/proc/cpuinfoshows "vmx" in flags, but module refuses to load:[17462106.632000] kvm: disabled by bios
See http://forum.thinkpads.com/viewtopic.php?p=203419&sid=8f3fe5a07430fe35c6bf8c32e6058a87
Quoted 3 lines
I wandered around BIOS setup (latest version), but didn't found
anything about virtualization. Is BIOS check really necessary?
Yes. The thing is a brick as far as hardware virtualization is concerned. Complain to your vendor.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 6 lines
See
http://forum.thinkpads.com/viewtopic.php?p=203419&sid=8f3fe5a07430fe35c6bf8c32e6058a87
Quoted 6 lines
Quoted 3 lines
I wandered around BIOS setup (latest version), but didn't found
anything about virtualization. Is BIOS check really necessary?Yes. The thing is a brick as far as hardware virtualization is concerned. Complain to your vendor.
is there an easy way this can be checked for? If so I'd love to add this as check to the linux-ready firmware developer kit (see URL in sig) as something to test bioses for...
Quoted 1 line
Signature · 2 lines
if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org