Closed DiWangShePi closed 3 months ago
Sorry for late response.
This build issue is related with hyper-V guest support. Please refer https://github.com/intel/tdx-linux/wiki/Instruction-to-set-up-TDX-host-and-guest#kernel-configuration-for-tdx-support
+- Microsoft Hyper-V guest support [N]
The build issue was fixed in upstream hyper-v after 6.6 kernel.
I'm compiling the kernel for the TDX VM and server based on the instructions from this repository. The kernel I used is:
After obtaining the complete files, I used the patch files in this repository to patch the kernel:
Subsequently, I tried to generate a
.config
file, but due to the lack of relevant instructions in this repository, I referred to the configuration files in branchtdx-1.0
andtdx-1.5
under this repository:After that, I used the
make -j$(getconf _NPROCESSORS_ONLN) LOCALVERSION="-tdx" deb-pkg
command and encountered the following error:Which seems to indicates that error occurs while executing command
make -f debian/rules
, so I execute this command in the same location, and got the following result:It looks like this has to do with the implementation of the TDX part, I'm not quite sure if I'm missing a patch or have the wrong environment configured(Ubuntu 22.04). I have no problem compiling TDVF and QEMU following the instructions in the wiki section of this repository. Would appreciate any help :pray::pray::pray: