On Thu, Aug 16, 2018 at 05:11:21PM +0200, Greg KH wrote:
On Thu, Aug 16, 2018 at 03:59:58PM +0200, Sven Joachim wrote:
On 2018-08-16 15:05 +0200, Adam Borowski wrote:
I'm afraid that I get a build failure; v4.18 is ok, v4.18.1 fails with:
ld: arch/x86/kvm/x86.o: in function `kvm_get_arch_capabilities': (.text+0x43b2): undefined reference to `l1tf_vmx_mitigation'
Same here and also in 4.17.15, but not in Linus' tree.
CONFIG_KVM=y # CONFIG_KVM_INTEL is not set CONFIG_KVM_AMD=y
I have CONFIG_KVM{,AMD}=m and CONFIG_KVM_INTEL is not set either.
This is fixed in my queue, if it really bothers you, apply commit 1eb46908b35d ("x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled") to your tree, it will be in the next round of stable kernel releases.
Probably obvious, but: cherry-picking that commit fixes the problem, it builds, boots and works ok.
Thanks!
Meow.