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>
Thu, 15 Dec 2011 14:36:21 +0000 (14:36 +0000)
commit8f0abddfa7d57a6b178ccdca3a0f590bd56cd97b
treef02a4c67b02ac19f7713b69ab33b76bcb3db5932
parent5b4e43e5054ff512ef9a6d54281d016e2c8fcf21
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