]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: add user mode (SLIRP) support to x86 QEMU targets
authorTodor Minchev <todor.minchev@linux.intel.com>
Wed, 26 Oct 2016 17:05:59 +0000 (10:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:21 +0000 (23:35 +0000)
commit80e6fc678f3dcd774d9376cdf2a6afcba2cd0b09
tree90ac70fa89f443172f05a3b92e3da2e304903e33
parent614ac87f2832c5359f371439559be88d6106cd6b
runqemu: add user mode (SLIRP) support to x86 QEMU targets

Using 'slirp' as a command line option to runqemu will start QEMU
with user mode networking instead of creating tun/tap devices.
SLIRP does not require root access. By default port 2222 on the
host will be mapped to port 22 in the guest. The default port
mapping can be overwritten with the QB_SLIRP_OPT variable e.g.

QB_SLIRP_OPT = "-net nic,model=e1000 -net user,hostfwd=tcp::2222-:22"

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/machine/include/qemuboot-x86.inc
scripts/runqemu