diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-05-20 16:16:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:07:00 +0100 |
commit | fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175 (patch) | |
tree | 0e54249547ae266edee105e95538bc817d95103a /scripts/runqemu | |
parent | 37beb7bdab78de5253a894f35afafa34c13a00f5 (diff) | |
download | openembedded-core-fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175.tar.gz openembedded-core-fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175.tar.bz2 openembedded-core-fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175.zip |
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]
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 9bd35de6ab..f2eb2e1768 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -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" ;; |