All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm-autonomy/xenguest-network: add "none" network type to xenguests
@ 2021-06-09  8:09 Hugo L'Hostis
  0 siblings, 0 replies; only message in thread
From: Hugo L'Hostis @ 2021-06-09  8:09 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

This patch adds a new "none" network type that can be set for xenguests
using XENGUEST_IMAGE_NETWORK_TYPE in their configuration.

Issue-Id: SCM-2338
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: If4f6de282b0048e5c68d293a3db5b56cd5adce66
---
 .../recipes-extended/xenguest/files/network-bridge.sh.in       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in b/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
index e697f7e..10bbe36 100755
--- a/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
+++ b/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
@@ -17,6 +17,9 @@ case "${XENGUEST_NETWORK_TYPE:=}" in
         echo "vif = ['script=vif-bridge,bridge=${BRIDGE_NAME}']" >> "${guestcfgfile:?}"
         log info "Network type is bridge: ${BRIDGE_NAME}"
         ;;
+    none)
+        log info "Network type is none"
+        ;;
     *)
         log error "XENGUEST_NETWORK_TYPE=$XENGUEST_NETWORK_TYPE invalid"
         ;;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-09  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09  8:09 [PATCH] arm-autonomy/xenguest-network: add "none" network type to xenguests Hugo L'Hostis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.