[openwrt/openwrt] kernel: add missing symbol to kmod-kvm

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 29 13:14:23 PDT 2021


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0e3027663247153a39b7f0d21d031acbbcd66155

commit 0e3027663247153a39b7f0d21d031acbbcd66155
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Wed Sep 29 01:28:06 2021 +0300

    kernel: add missing symbol to kmod-kvm
    
    Even though TRACEPOINTS is not enabled in my kernel config, my build
    fails due to KVM_MMU_AUDIT being missing. Add this symbol to kmod-kvm to
    fix this.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/kernel/linux/modules/virt.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/virt.mk b/package/kernel/linux/modules/virt.mk
index 368f4ab5aa..5ed0d5dbbf 100644
--- a/package/kernel/linux/modules/virt.mk
+++ b/package/kernel/linux/modules/virt.mk
@@ -21,6 +21,7 @@ define KernelPackage/kvm-x86
   DEPENDS:=@TARGET_x86_generic||TARGET_x86_64 +kmod-irqbypass
   KCONFIG:=\
 	  CONFIG_KVM \
+	  CONFIG_KVM_MMU_AUDIT=n \
 	  CONFIG_VIRTUALIZATION=y
   FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm.ko
   AUTOLOAD:=$(call AutoProbe,kvm.ko)



More information about the lede-commits mailing list