aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-11-24 13:29:05 +0100
committerFelix Fietkau <nbd@nbd.name>2016-11-24 13:29:05 +0100
commitd5c3a7b1abfbfbd89406fbc4cf14edc49ce61c69 (patch)
tree78dbf5e73ca41df54b31c03cadd61b523c2c42a8 /package/kernel
parente57bed5bc3ddb5b6c23e66757c4ce419df0e2add (diff)
downloadupstream-d5c3a7b1abfbfbd89406fbc4cf14edc49ce61c69.tar.gz
upstream-d5c3a7b1abfbfbd89406fbc4cf14edc49ce61c69.tar.bz2
upstream-d5c3a7b1abfbfbd89406fbc4cf14edc49ce61c69.zip
kernel: fix virtualization kmod dependencies and kconfig symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/virt.mk24
1 files changed, 6 insertions, 18 deletions
diff --git a/package/kernel/linux/modules/virt.mk b/package/kernel/linux/modules/virt.mk
index 799adade58..2c082f0407 100644
--- a/package/kernel/linux/modules/virt.mk
+++ b/package/kernel/linux/modules/virt.mk
@@ -8,32 +8,20 @@ define KernelPackage/irqbypass
SUBMENU:=Virtualization
TITLE:=IRQ offload/bypass manager
KCONFIG:=CONFIG_IRQ_BYPASS_MANAGER
+ HIDDEN:=1
FILES:= $(LINUX_DIR)/virt/lib/irqbypass.ko
AUTOLOAD:=$(call AutoProbe,irqbypass.ko)
endef
-
-define KernelPackage/irqbypass/description
- Various virtualization hardware acceleration techniques allow bypassing or
- offloading interrupts received from devices around the host kernel. Posted
- Interrupts on Intel VT-d systems can allow interrupts to be received
- directly by a virtual machine. ARM IRQ Forwarding allows forwarded physical
- interrupts to be directly deactivated by the guest. This manager allows
- interrupt producers and consumers to find each other to enable this sort of
- bypass.
-endef
-
$(eval $(call KernelPackage,irqbypass))
define KernelPackage/kvm-x86
SUBMENU:=Virtualization
TITLE:=Kernel-based Virtual Machine (KVM) support
- DEPENDS:=@TARGET_x86 +kmod-irqbypass
+ DEPENDS:=@TARGET_x86_generic||TARGET_x86_64 +kmod-irqbypass
KCONFIG:=\
CONFIG_VIRTUALIZATION=y \
CONFIG_KVM \
- CONFIG_VHOST_NET=n \
- CONFIG_VHOST_CROSS_ENDIAN_LEGACY=n \
CONFIG_TASK_XACCT=n \
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm.ko
@@ -56,8 +44,8 @@ $(eval $(call KernelPackage,kvm-x86))
define KernelPackage/kvm-intel
SUBMENU:=Virtualization
TITLE:=KVM for Intel processors support
- DEPENDS:=@TARGET_x86 +kmod-kvm-x86
- KCONFIG:=CONFIG_KVM_INTEL CONFIG_KVM_AMD=n
+ DEPENDS:=+kmod-kvm-x86
+ KCONFIG:=CONFIG_KVM_INTEL
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-intel.ko
AUTOLOAD:=$(call AutoProbe,kvm-intel.ko)
endef
@@ -73,8 +61,8 @@ $(eval $(call KernelPackage,kvm-intel))
define KernelPackage/kvm-amd
SUBMENU:=Virtualization
TITLE:=KVM for AMD processors support
- DEPENDS:=@TARGET_x86 +kmod-kvm-x86
- KCONFIG:=CONFIG_KVM_INTEL=n CONFIG_KVM_AMD
+ DEPENDS:=+kmod-kvm-x86
+ KCONFIG:=CONFIG_KVM_AMD
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-amd.ko
AUTOLOAD:=$(call AutoProbe,kvm-amd.ko)
endef