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:14:40 +0100 |
commit | 52c9f6650f4c8fb06636f03803005054aa520191 (patch) | |
tree | 060bbd48c209237ccc3c240bb11d0c18e00cb1fa /scripts/runqemu | |
parent | 600f4e38ad93368ec0bfd6e1a69c0fd592a66649 (diff) | |
download | poky-52c9f6650f4c8fb06636f03803005054aa520191.tar.gz |
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]
(From OE-Core rev: fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | |||
173 | KVM_ENABLED="yes" | 173 | KVM_ENABLED="yes" |
174 | KVM_CAPABLE=`grep -q 'vmx\|svm' /proc/cpuinfo && echo 1` | 174 | KVM_CAPABLE=`grep -q 'vmx\|svm' /proc/cpuinfo && echo 1` |
175 | ;; | 175 | ;; |
176 | "slirp") | ||
177 | SLIRP_ENABLED="yes" | ||
178 | ;; | ||
176 | "publicvnc") | 179 | "publicvnc") |
177 | SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -vnc 0.0.0.0:0" | 180 | SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -vnc 0.0.0.0:0" |
178 | ;; | 181 | ;; |