* KVM won't compile on 2.6.29
@ 2009-06-09 18:01 Bike & Snow
2009-06-11 8:29 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Bike & Snow @ 2009-06-09 18:01 UTC (permalink / raw)
To: kvm
Hello
I've compiled and installed KVM on kernel 2.6.28-11. It worked perfectly.
I'm using Ubuntu 9.04.
I'm now trying to compile on kernel 2.6.29-4.
It fails on compiling the kernel module with this error message:
/usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_iommu_map_pagesâ:
/usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: âIOMMU_CACHEâ
undeclared (first use in this function)
/usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: (Each undeclared
identifier is reported only once
/usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: for each function it
appears in.)
/usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_assign_deviceâ:
/usr/src/kvm-kmod-devel-86/x86/iommu.c:155: error: implicit
declaration of function âiommu_domain_has_capâ
/usr/src/kvm-kmod-devel-86/x86/iommu.c:156: error:
âIOMMU_CAP_CACHE_COHERENCYâ undeclared (first use in this function)
make[3]: *** [/usr/src/kvm-kmod-devel-86/x86/iommu.o] Error 1
make[2]: *** [/usr/src/kvm-kmod-devel-86/x86] Error 2
make[1]: *** [_module_/usr/src/kvm-kmod-devel-86] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-02062904-generic'
make: *** [all] Error 2
This happens if I compile with the kvm-86.tar.gz package or the
smaller module only kvm-kmod-devel-86.tar.gz package.
I have kernel headers installed. I've also installed the source for
2.6.29-4 (not necessary but tried it anyway).
Any ideas?
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KVM won't compile on 2.6.29
2009-06-09 18:01 KVM won't compile on 2.6.29 Bike & Snow
@ 2009-06-11 8:29 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-06-11 8:29 UTC (permalink / raw)
To: Bike & Snow; +Cc: kvm
Bike & Snow wrote:
> Hello
>
> I've compiled and installed KVM on kernel 2.6.28-11. It worked perfectly.
> I'm using Ubuntu 9.04.
>
> I'm now trying to compile on kernel 2.6.29-4.
>
> It fails on compiling the kernel module with this error message:
>
> /usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_iommu_map_pagesâ:
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: âIOMMU_CACHEâ
> undeclared (first use in this function)
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: (Each undeclared
> identifier is reported only once
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: for each function it
> appears in.)
> /usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_assign_deviceâ:
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:155: error: implicit
> declaration of function âiommu_domain_has_capâ
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:156: error:
> âIOMMU_CAP_CACHE_COHERENCYâ undeclared (first use in this function)
> make[3]: *** [/usr/src/kvm-kmod-devel-86/x86/iommu.o] Error 1
> make[2]: *** [/usr/src/kvm-kmod-devel-86/x86] Error 2
> make[1]: *** [_module_/usr/src/kvm-kmod-devel-86] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-02062904-generic'
> make: *** [all] Error 2
>
>
> This happens if I compile with the kvm-86.tar.gz package or the
> smaller module only kvm-kmod-devel-86.tar.gz package.
>
> I have kernel headers installed. I've also installed the source for
> 2.6.29-4 (not necessary but tried it anyway).
>
> Any ideas?
>
>
This is already fixed in git.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-11 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 18:01 KVM won't compile on 2.6.29 Bike & Snow
2009-06-11 8:29 ` Avi Kivity
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.