tree:
https://github.com/intel/tdx.git kvm-upstream
head: cf0e0f3ada8796602d986a2b3b5c91bb2d6126e3
commit: c24ea1a38f8e354cf113474401dcdc1d1a81aa45 [68/135] KVM: TDX: create/destroy VM
structure
config: x86_64-randconfig-a002
(
https://download.01.org/0day-ci/archive/20220124/202201241926.J8dgJCQB-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/intel/tdx/commit/c24ea1a38f8e354cf113474401dcdc1d1a81aa45
git remote add intel-tdx
https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream
git checkout c24ea1a38f8e354cf113474401dcdc1d1a81aa45
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: arch/x86/kvm/vmx/main.o: in function `vt_vm_init':
> arch/x86/kvm/vmx/main.c:35: undefined reference to
`tdx_vm_init'
vim +35 arch/x86/kvm/vmx/main.c
31
32 static int vt_vm_init(struct kvm *kvm)
33 {
34 if (kvm->arch.vm_type == KVM_X86_TDX_VM)
35 return tdx_vm_init(kvm);
36
37 return vmx_vm_init(kvm);
38 }
39
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org