Re: KVM won't compile on 2.6.29

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux