summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2022-04-27 17:06:09 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-05-09 08:08:31 -0400
commitd7a2d1b7ab94f7ac8e882ab66810d80e686cb62c (patch)
treebdbe2687a62ad69bc61e15c5d5cf72bf62fb811c /recipes-extended
parent1c746a976830ebaf85c7c8c25612bea349b0a7c5 (diff)
downloadmeta-virtualization-d7a2d1b7ab94f7ac8e882ab66810d80e686cb62c.tar.gz
xen images, qemuboot: configure xenbr0 bridge for runqemu, testimage
Networking for Xen guest virtual machines is commonly configured via bridging in the host system between a physical interface and the guest virtual interfaces. To make it easier to test networking and use testimage with Xen guest virtual machines, extend the bbclass that provides network configuration for qemu machines for the Xen images to configure a Xen bridge and put eth0 onto it when QB_XEN_HOST_BRIDGE is set. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/images/xen-image-minimal.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb
index 9b7f4150..dd5b39d8 100644
--- a/recipes-extended/images/xen-image-minimal.bb
+++ b/recipes-extended/images/xen-image-minimal.bb
@@ -34,6 +34,8 @@ XEN_ACPI_PROCESSOR_MODULE:x86-64 = "kernel-module-xen-acpi-processor"
34 34
35LICENSE = "MIT" 35LICENSE = "MIT"
36 36
37QB_NETWORK_XEN_BRIDGE = "1"
38
37inherit core-image 39inherit core-image
38# Only inherit the qemuboot classes when building for a qemu machine 40# Only inherit the qemuboot classes when building for a qemu machine
39QB_QEMU_CLASSES = "" 41QB_QEMU_CLASSES = ""