Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-26 Thread Avi Kivity
Frank Phillips wrote: >> >> Odd I thought fedora built the appropriate modules or does this option have >> another meaning? >> > > Historically, --with-patched-kernel was for those running a -mm > kernel, which was the only tree that contained the kvm patch. > > These days it's a bit of a misn

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-26 Thread Frank Phillips
Hi Mark, > On 8/25/07, Luca < [EMAIL PROTECTED]> wrote: > > On 8/25/07, Mark Bidewell < > [EMAIL PROTECTED]> wrote: > > > Yes I did use --with-patched-kernel. > > > > Don't. You don't have a patched kernel ;-) > > > Odd I thought fedora built the appropriate modules or does this option have > anot

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Mark Bidewell
Odd I thought fedora built the appropriate modules or does this option have another meaning? Mark Bidewell On 8/25/07, Luca <[EMAIL PROTECTED]> wrote: > > On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > > Yes I did use --with-patched-kernel. > > Don't. You don't have a patched kernel ;-) >

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Luca
On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > Yes I did use --with-patched-kernel. Don't. You don't have a patched kernel ;-) > Here is my configure command line: > > ./configure --with-patched-kernel --prefix=/opt/kvm Which means that you are going to use your own kernel modules. Do yo

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Mark Bidewell
Yes I did use --with-patched-kernel. Here is my configure command line: ./configure --with-patched-kernel --prefix=/opt/kvm Mark Bidewell On 8/25/07, Luca <[EMAIL PROTECTED]> wrote: > > On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > > I am using the tarball from sourceforge. Here is th

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Luca
On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > I am using the tarball from sourceforge. Here is the output to 'make -C > user kvmctl.o' > > [EMAIL PROTECTED] kvm-36]# make -C user kvmctl.o > make: Entering directory `/opt/kvm-36/user' > cc -I /usr/src/kernels/2.6.22.4- 65.fc7-x86_64/includ

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Mark Bidewell
I am using the tarball from sourceforge. Here is the output to 'make -C user kvmctl.o' [EMAIL PROTECTED] kvm-36]# make -C user kvmctl.o make: Entering directory `/opt/kvm-36/user' cc -I /usr/src/kernels/2.6.22.4-65.fc7-x86_64/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m64 -fno-s

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Luca Tettamanti
Mark Bidewell ha scritto: > On 8/24/07, Luca <[EMAIL PROTECTED]> wrote: > > > > On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > > > When building kvm-36 with the latest Fedora kernel I get the error: > > > > > > kvmctl.c: In function 'kvm_run': > > > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR'

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-24 Thread Mark Bidewell
Thanks for your help, The output is as follows: make -C kernel make[1]: Entering directory `/opt/kvm-36/kernel' make -C /lib/modules/2.6.22.4-65.fc7/build M=`pwd` "$@" make[2]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64' test -e include/linux/autoconf.h -a -e include/config/auto.c

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-24 Thread Luca
On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote: > When building kvm-36 with the latest Fedora kernel I get the error: > > kvmctl.c: In function 'kvm_run': > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this > function) > kvmctl.c:1046: error: (Each undeclared identifier is

[kvm-devel] KVM-36 compile error on Fedora 7

2007-08-24 Thread Mark Bidewell
When building kvm-36 with the latest Fedora kernel I get the error: kvmctl.c: In function 'kvm_run': kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this function) kvmctl.c:1046: error: (Each undeclared identifier is reported only once kvmctl.c:1046: error: for each function it a