> From: Tom Lendacky <thomas.lendacky@amd.com>
> Sent: Tuesday, August 22, 2023 12:38 PM
> To: Wei Liu <wei.liu@kernel.org>; Tianyu Lan <ltykernel@gmail.com>
> [...]
> Just found that this series fails to build if CONFIG_HYPERV is not set:
>
> ld: arch/x86/kernel/cpu/mshyperv.o: in function `ms_hyperv_init_platform':
> /root/kernels/linux-next-build-x86_64/arch/x86/kernel/cpu/mshyperv.c:417:
> undefined reference to `isolation_type_en_snp'
I made a fix:
https://github.com/dcui/linux/commit/29fadabcaa2cb3466ace1dff13b4d948a71f888d
I'll post the fix immediately.