SLiRP support in runqemu
PATCH v2 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 | 220 ++++++++++++++++++++++++++-------------------- 2 files changed, 130 insertions(+), 93 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 +127 -93
260 lines not on this page · raw message
Signature · 1 line
1.7.9.5