runqemu, runqemu-internal: Allow slirp for NFS and KVM use
authorJason Wessel <jason.wessel@windriver.com>
Thu, 23 Jan 2014 14:32:46 +0000 (08:32 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 00:52:36 +0000 (00:52 +0000)
commite0bdba790e3906eff5c7c876d95d5fb0e73c90c4
treed95d30c745b418f239b5ba98a681d8d7b66e5428
parentd9b5c2535d13721f8abb8d1480895f4cceaf8126
runqemu, runqemu-internal: Allow slirp for NFS and KVM use

The default slirp address for the NFS server is 10.0.2.2.  If not
using a tap interface this address must be used or the target system
cannot connect properly.  Also the ip=... kernel arguments need to be
set to dhcp when using slirp or the root NFS will not get setup
properly.

The call to cleanup() results in a routine which is not defined when
setting up the NFS because it is called before acquire() for the
locking of the tap interfaces, the solution being to simply not call
cleanup() that early.

When using slirp, kvm should not execute the vhost net checks because
the vhost net will not be configure or used.

(From OE-Core rev: 1ea04d87525f26c2cd32ba29c0f14c6226f60729)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu
scripts/runqemu-internal