]> code.ossystems Code Review - openembedded-core.git/commit
scripts/runqemu: show an error if /dev/net/tun is unusable
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Dec 2011 16:37:24 +0000 (16:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:39:05 +0000 (16:39 +0000)
commitb66fa6238a8f9c0972a60932941997517826ff03
treea49a1b35484fef9edc390e5110f2b0a4c280219b
parentf235c7a320c401fea70a578186c5cf80dd597fcd
scripts/runqemu: show an error if /dev/net/tun is unusable

If /dev/net/tun is either not present or is not writable by the
user, then show an appropriate error message. (QEMU needs access to this
device in order to enable networking; it may be missing if it is not
enabled or loaded into the kernel, and some distributions such as CentOS
5.x set restrictive permissions upon it.)

(From OE-Core rev: a00b94900d437828f25debce1c30ffcc0bbf29e9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu