summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2020-02-25 16:15:57 -0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-02-27 16:59:23 -0500
commit19b45a9fedf00bc8fa4b96091176a0c886f65f35 (patch)
tree665a3441b69e48c91716ca680719bc6570fb3256
parentfc69b5553ad9f15b9876788125a2e63a43c44252 (diff)
downloadmeta-virtualization-19b45a9fedf00bc8fa4b96091176a0c886f65f35.tar.gz
xen-image-minimal: add kernel-module-tun for HVM guest networking
Xen HVM guests are only on x86 platforms so add the module via overrides. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/images/xen-image-minimal.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb
index 63a1086b..c98314e1 100644
--- a/recipes-extended/images/xen-image-minimal.bb
+++ b/recipes-extended/images/xen-image-minimal.bb
@@ -16,6 +16,10 @@ IMAGE_INSTALL += " \
16 qemu \ 16 qemu \
17 " 17 "
18 18
19# Networking for HVM-mode guests (x86/64 only) requires the tun kernel module
20IMAGE_INSTALL_append_x86 = "kernel-module-tun"
21IMAGE_INSTALL_append_x86-64 = "kernel-module-tun"
22
19# Linux kernel option CONFIG_XEN_PCIDEV_BACKEND depends on X86 23# Linux kernel option CONFIG_XEN_PCIDEV_BACKEND depends on X86
20XEN_PCIBACK_MODULE = "" 24XEN_PCIBACK_MODULE = ""
21XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback" 25XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback"