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>
This commit is contained in:
Christopher Clark 2020-02-25 16:15:57 -08:00 committed by Bruce Ashfield
parent fc69b5553a
commit 19b45a9fed

View File

@ -16,6 +16,10 @@ IMAGE_INSTALL += " \
qemu \ qemu \
" "
# Networking for HVM-mode guests (x86/64 only) requires the tun kernel module
IMAGE_INSTALL_append_x86 = "kernel-module-tun"
IMAGE_INSTALL_append_x86-64 = "kernel-module-tun"
# Linux kernel option CONFIG_XEN_PCIDEV_BACKEND depends on X86 # Linux kernel option CONFIG_XEN_PCIDEV_BACKEND depends on X86
XEN_PCIBACK_MODULE = "" XEN_PCIBACK_MODULE = ""
XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback" XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback"