]> code.ossystems Code Review - openembedded-core.git/commit
poky-qemu-internal: Support use of a preconfigured tap device
authorJeff Dike <jdike@x86_64.user-mode-linux.org>
Thu, 5 Aug 2010 19:13:45 +0000 (15:13 -0400)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 20 Aug 2010 15:20:10 +0000 (16:20 +0100)
commit81ff1ee2375161772a4e2471740e4d30f5577aae
tree291f1f0a99cd87cbd30e74b0d46bc08dec707d59
parent4df9f11171530ca60043504ce011f34c42e93b46
poky-qemu-internal: Support use of a preconfigured tap device

This patch makes poky-qemu-internal check for the existence of an
available preconfigured tap device before running poky-qemu-ifup to
make a new one.

Locking is handled with a lockfile in /tmp/qemu-tap-locks/.  This uses
the lockfile utility, so that needs to be present on the host.  On
exit, this script removes the lock file so that the tap device may be
reused.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
scripts/poky-qemu-internal