diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-02-25 16:15:57 -0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-27 16:59:23 -0500 |
commit | 19b45a9fedf00bc8fa4b96091176a0c886f65f35 (patch) | |
tree | 665a3441b69e48c91716ca680719bc6570fb3256 | |
parent | fc69b5553ad9f15b9876788125a2e63a43c44252 (diff) | |
download | meta-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.bb | 4 |
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 | ||
20 | IMAGE_INSTALL_append_x86 = "kernel-module-tun" | ||
21 | IMAGE_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 |
20 | XEN_PCIBACK_MODULE = "" | 24 | XEN_PCIBACK_MODULE = "" |
21 | XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback" | 25 | XEN_PCIBACK_MODULE_x86 = "kernel-module-xen-pciback" |