OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2016 Yousong Zhou <yszhou4tech@gmail.com> |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | define KernelPackage/irqbypass |
||
8 | SUBMENU:=Virtualization |
||
9 | TITLE:=IRQ offload/bypass manager |
||
10 | KCONFIG:=CONFIG_IRQ_BYPASS_MANAGER |
||
11 | HIDDEN:=1 |
||
12 | FILES:= $(LINUX_DIR)/virt/lib/irqbypass.ko |
||
13 | AUTOLOAD:=$(call AutoProbe,irqbypass.ko) |
||
14 | endef |
||
15 | $(eval $(call KernelPackage,irqbypass)) |
||
16 | |||
17 | |||
18 | define KernelPackage/kvm-x86 |
||
19 | SUBMENU:=Virtualization |
||
20 | TITLE:=Kernel-based Virtual Machine (KVM) support |
||
21 | DEPENDS:=@TARGET_x86_generic||TARGET_x86_64 +kmod-irqbypass |
||
22 | KCONFIG:=\ |
||
23 | CONFIG_VIRTUALIZATION=y \ |
||
24 | CONFIG_KVM |
||
25 | FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm.ko |
||
26 | AUTOLOAD:=$(call AutoProbe,kvm.ko) |
||
27 | endef |
||
28 | |||
29 | define KernelPackage/kvm-x86/description |
||
30 | Support hosting fully virtualized guest machines using hardware |
||
31 | virtualization extensions. You will need a fairly recent |
||
32 | processor equipped with virtualization extensions. You will also |
||
33 | need to select one or more of the processor modules. |
||
34 | |||
35 | This module provides access to the hardware capabilities through |
||
36 | a character device node named /dev/kvm. |
||
37 | endef |
||
38 | |||
39 | $(eval $(call KernelPackage,kvm-x86)) |
||
40 | |||
41 | |||
42 | define KernelPackage/kvm-intel |
||
43 | SUBMENU:=Virtualization |
||
44 | TITLE:=KVM for Intel processors support |
||
45 | DEPENDS:=+kmod-kvm-x86 |
||
46 | KCONFIG:=CONFIG_KVM_INTEL |
||
47 | FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-intel.ko |
||
48 | AUTOLOAD:=$(call AutoProbe,kvm-intel.ko) |
||
49 | endef |
||
50 | |||
51 | define KernelPackage/kvm-intel/description |
||
52 | Provides support for KVM on Intel processors equipped with the VT |
||
53 | extensions. |
||
54 | endef |
||
55 | |||
56 | $(eval $(call KernelPackage,kvm-intel)) |
||
57 | |||
58 | |||
59 | define KernelPackage/kvm-amd |
||
60 | SUBMENU:=Virtualization |
||
61 | TITLE:=KVM for AMD processors support |
||
62 | DEPENDS:=+kmod-kvm-x86 |
||
63 | KCONFIG:=CONFIG_KVM_AMD |
||
64 | FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-amd.ko |
||
65 | AUTOLOAD:=$(call AutoProbe,kvm-amd.ko) |
||
66 | endef |
||
67 | |||
68 | define KernelPackage/kvm-amd/description |
||
69 | Provides support for KVM on AMD processors equipped with the AMD-V |
||
70 | (SVM) extensions. |
||
71 | endef |
||
72 | |||
73 | $(eval $(call KernelPackage,kvm-amd)) |