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-stack-protector -c -o kvmctl.o
kvmctl.c
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 appears in.)
make: *** [kvmctl.o] Error 1
make: Leaving directory `/opt/kvm-36/user'
Output to: 'grep -r KVM_EXIT_SET_TPR *'
[EMAIL PROTECTED] kvm-36]# grep -r KVM_EXIT_SET_TPR *
kernel/vmx.c: kvm_run->exit_reason = KVM_EXIT_SET_TPR;
kernel/include/linux/kvm.h: KVM_EXIT_SET_TPR = 11
patches/kvm-36.patch:+ kvm_run->exit_reason =
KVM_EXIT_SET_TPR;
patches/kvm-36.patch:+ KVM_EXIT_SET_TPR = 11
user/kvmctl.c: case KVM_EXIT_SET_TPR:
Mark Bidewell
On 8/25/07, Luca Tettamanti <[EMAIL PROTECTED]> wrote:
>
> 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' 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 appears in.)
> > > > make[1]: *** [kvmctl.o] Error 1
> > > > make[1]: Leaving directory `/opt/kvm-36/user'
> > > > make: *** [user] Error 2
> [...]
> > 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'
>
> Ops sorry, I misread the original message. The problematic part is the
> userspace component. I can't see how it manages to include the wrong
> kvm.h though.
> Are you using the tar.gz package or the git tree?
>
> Please also post the output of:
>
> make -C user kvmctl.o
>
> Oh, and try also:
>
> grep -r KVM_EXIT_SET_TPR *
>
> just in case :)
>
> Luca
> --
> Tentare e` il primo passo verso il fallimento.
> Homer J. Simpson
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel