Skip to contentSkip to conversation

SLiRP support in runqemu

PATCH New Andrei Dinu 1 participant 1 message May 20, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 SLiRP support in runqemu

runqemu script now takes argument "slirp" in order to run networking on the qemu machine, without root privileges.

changed the runqemu-internal script in order not to activate the tap devices if the option is set.

[YOCTO #1474]

---
 scripts/runqemu          |    3 +
 scripts/runqemu-internal |  272 +++++++++++++++++++++++++---------------------
 2 files changed, 150 insertions(+), 125 deletions(-)
scripts/runqemu +3 -0
index 9bd35de..f2eb2e1 100755
@@ -173,6 +173,9 @@ while true; do
             KVM_ENABLED="yes"
             KVM_CAPABLE=`grep -q 'vmx\|svm' /proc/cpuinfo && echo 1`
             ;;
+        "slirp")
+            SLIRP_ENABLED="yes"
+            ;;
         "publicvnc")
             SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -vnc 0.0.0.0:0"
             ;;
scripts/runqemu-internal +147 -125

301 lines not on this page · raw message

Signature · 1 line
1.7.9.5