Fixed
Created: Dec 15, 2017
Updated: Feb 11, 2019
Resolved Date: Jan 17, 2018
Found In Version: 7.0.0.28
Fix Version: 7.0.0.28
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel
It seems that this issue was introduced by commit 20a1fa44dd23be371b6f9056d6711ea33f28668d [kvm: vmx: handle invvpid vm exit gracefully].
After this commit is reverted, the build completes successfully.
#1 Configure the project
configure --enable-board=intel_x86-64 --enable-kernel=secure --enable-rootfs=secure-platform --with-template=feature/test,feature/kexec,feature/kdump --enable-internet-download=yes --enable-reconfig
#2 Activate CONFIG_KVM_INTEL and build the kernel
$ make linux-windriver.menuconfig
CONFIG_KVM_INTEL=y
$ make linux-windriver
The build will fail with:
/buildarea/raid0/ovidiu/Builds/wrl7-x86-64-HEAD-SCP/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/arch/x86/kvm/vmx.c:6480:12: error: redefinition of 'handle_invvpid'
static int handle_invvpid(struct kvm_vcpu *vcpu)
^
/buildarea/raid0/ovidiu/Builds/wrl7-x86-64-HEAD-SCP/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/arch/x86/kvm/vmx.c:6474:12: note: previous definition of 'handle_invvpid' was here
static int handle_invvpid(struct kvm_vcpu *vcpu)