diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2022-04-27 17:06:09 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-05-09 08:08:31 -0400 |
commit | d7a2d1b7ab94f7ac8e882ab66810d80e686cb62c (patch) | |
tree | bdbe2687a62ad69bc61e15c5d5cf72bf62fb811c /recipes-extended | |
parent | 1c746a976830ebaf85c7c8c25612bea349b0a7c5 (diff) | |
download | meta-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.bb | 2 |
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 | ||
35 | LICENSE = "MIT" | 35 | LICENSE = "MIT" |
36 | 36 | ||
37 | QB_NETWORK_XEN_BRIDGE = "1" | ||
38 | |||
37 | inherit core-image | 39 | inherit 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 |
39 | QB_QEMU_CLASSES = "" | 41 | QB_QEMU_CLASSES = "" |