[openwrt/openwrt] x86: 6.6: enable System Management Mode emulation on KVM

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 3 23:56:24 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/667baaf1d936160c40130ce2950c85908e5d676e

commit 667baaf1d936160c40130ce2950c85908e5d676e
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Tue Mar 26 18:39:01 2024 +0100

    x86: 6.6: enable System Management Mode emulation on KVM
    
    Include the CONFIG_KVM_SMM option in the kvm-x86 package to enable system management mode emulation on KVM.
    
    Co-authored-by: Stefan Hellermann <stefan at the2masters.de>
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
---
 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 a408ac9b14..4a879f240e 100644
--- a/package/kernel/linux/modules/virt.mk
+++ b/package/kernel/linux/modules/virt.mk
@@ -22,6 +22,7 @@ define KernelPackage/kvm-x86
   KCONFIG:=\
 	  CONFIG_KVM \
 	  CONFIG_KVM_MMU_AUDIT=n \
+	  CONFIG_KVM_SMM=y at ge6.6 \
 	  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