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-18 13:56:43 -0400
commitc988514f4acbd2e8a61a53a16f1eea2d45729b74 (patch)
treebdbe2687a62ad69bc61e15c5d5cf72bf62fb811c /recipes-extended
parentbf4f18a0b75ab5111c9990d531ad9a48b3ae0957 (diff)
downloadmeta-virtualization-c988514f4acbd2e8a61a53a16f1eea2d45729b74.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 = ""