SLiRP support in runqemu
PATCH v3 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. Also trimmed the cleanup function so that after the image is closed, no tap releases warnings showed up.
[YOCTO #1474]
Signed-off-by Andrei Dinu <[email protected]>
--- scripts/runqemu | 3 + scripts/runqemu-internal | 217 ++++++++++++++++++++++++++-------------------- 2 files changed, 126 insertions(+), 94 deletions(-)
scripts/runqemu +3 -0
@@ -157,6 +157,9 @@ while true; do KVM_ENABLED="yes" KVM_CAPABLE=`grep -q 'vmx\|smx' /proc/cpuinfo && echo 1` ;; + "slirp") + SLIRP_ENABLED="yes" + ;; "") break ;; *) # A directory name is an nfs rootfs
scripts/runqemu-internal +123 -94
257 lines not on this page · raw message
Signature · 1 line
1.7.9.5