Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
d5c3a7b1
Commit
d5c3a7b1
authored
8 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
kernel: fix virtualization kmod dependencies and kconfig symbols
Signed-off-by:
Felix Fietkau
<
nbd@nbd.name
>
parent
e57bed5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/kernel/linux/modules/virt.mk
+6
-18
6 additions, 18 deletions
package/kernel/linux/modules/virt.mk
with
6 additions
and
18 deletions
package/kernel/linux/modules/virt.mk
+
6
−
18
View file @
d5c3a7b1
...
@@ -8,32 +8,20 @@ define KernelPackage/irqbypass
...
@@ -8,32 +8,20 @@ define KernelPackage/irqbypass
SUBMENU
:=
Virtualization
SUBMENU
:=
Virtualization
TITLE
:=
IRQ offload/bypass manager
TITLE
:=
IRQ offload/bypass manager
KCONFIG
:=
CONFIG_IRQ_BYPASS_MANAGER
KCONFIG
:=
CONFIG_IRQ_BYPASS_MANAGER
HIDDEN
:=
1
FILES
:=
$(
LINUX_DIR
)
/virt/lib/irqbypass.ko
FILES
:=
$(
LINUX_DIR
)
/virt/lib/irqbypass.ko
AUTOLOAD
:=
$(
call AutoProbe,irqbypass.ko
)
AUTOLOAD
:=
$(
call AutoProbe,irqbypass.ko
)
endef
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
))
$(
eval
$(
call KernelPackage,irqbypass
))
define
KernelPackage/kvm-x86
define
KernelPackage/kvm-x86
SUBMENU
:=
Virtualization
SUBMENU
:=
Virtualization
TITLE
:=
Kernel-based Virtual Machine
(
KVM
)
support
TITLE
:=
Kernel-based Virtual Machine
(
KVM
)
support
DEPENDS
:=
@TARGET_x86 +kmod-irqbypass
DEPENDS
:=
@TARGET_x86
_generic||TARGET_x86_64
+kmod-irqbypass
KCONFIG
:=
\
KCONFIG
:=
\
CONFIG_VIRTUALIZATION
=
y
\
CONFIG_VIRTUALIZATION
=
y
\
CONFIG_KVM
\
CONFIG_KVM
\
CONFIG_VHOST_NET
=
n
\
CONFIG_VHOST_CROSS_ENDIAN_LEGACY
=
n
\
CONFIG_TASK_XACCT
=
n
\
CONFIG_TASK_XACCT
=
n
\
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm.ko
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm.ko
...
@@ -56,8 +44,8 @@ $(eval $(call KernelPackage,kvm-x86))
...
@@ -56,8 +44,8 @@ $(eval $(call KernelPackage,kvm-x86))
define
KernelPackage/kvm-intel
define
KernelPackage/kvm-intel
SUBMENU
:=
Virtualization
SUBMENU
:=
Virtualization
TITLE
:=
KVM
for
Intel processors support
TITLE
:=
KVM
for
Intel processors support
DEPENDS
:=
@TARGET_x86
+kmod-kvm-x86
DEPENDS
:=
+kmod-kvm-x86
KCONFIG
:=
CONFIG_KVM_INTEL
CONFIG_KVM_AMD
=
n
KCONFIG
:=
CONFIG_KVM_INTEL
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm-intel.ko
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm-intel.ko
AUTOLOAD
:=
$(
call AutoProbe,kvm-intel.ko
)
AUTOLOAD
:=
$(
call AutoProbe,kvm-intel.ko
)
endef
endef
...
@@ -73,8 +61,8 @@ $(eval $(call KernelPackage,kvm-intel))
...
@@ -73,8 +61,8 @@ $(eval $(call KernelPackage,kvm-intel))
define
KernelPackage/kvm-amd
define
KernelPackage/kvm-amd
SUBMENU
:=
Virtualization
SUBMENU
:=
Virtualization
TITLE
:=
KVM
for
AMD processors support
TITLE
:=
KVM
for
AMD processors support
DEPENDS
:=
@TARGET_x86
+kmod-kvm-x86
DEPENDS
:=
+kmod-kvm-x86
KCONFIG
:=
CONFIG_KVM_INTEL
=
n
CONFIG_KVM_AMD
KCONFIG
:=
CONFIG_KVM_AMD
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm-amd.ko
FILES
:=
$(
LINUX_DIR
)
/arch/
$(
LINUX_KARCH
)
/kvm/kvm-amd.ko
AUTOLOAD
:=
$(
call AutoProbe,kvm-amd.ko
)
AUTOLOAD
:=
$(
call AutoProbe,kvm-amd.ko
)
endef
endef
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment