summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-28 10:52:05 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-30 16:23:47 +0100
commit5bffc4ff4dde35d2ceb21242c1372113406369ff (patch)
tree2a81be97d8c4884bedde9d06e8366ddc54a8a285 /scripts/runqemu-internal
parenta78bf1ce7bc41ff96f17c532179be517d6474978 (diff)
downloadast2050-yocto-poky-5bffc4ff4dde35d2ceb21242c1372113406369ff.zip
ast2050-yocto-poky-5bffc4ff4dde35d2ceb21242c1372113406369ff.tar.gz
runqemu-internal: provide more info if a preconfigured tap is used
We should provide the user more information if a preconfigured tap is used. This is because the user might have manually set up the tap interface to be used by other qemu binaries. So at a minimum, we should let the user know how to make runqemu skip that tap interface. [YOCTO #5047] (From OE-Core rev: ec08d92641cc51c567cc3745937b1839d3faa095) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 8165e13..f9d8728 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -214,6 +214,7 @@ else
fi
else
echo "Using preconfigured tap device '$TAP'"
+ echo "If this is not intended, use flock on $LOCKFILE.lock to make runqemu skip $TAP."
fi
cleanup() {
OpenPOWER on IntegriCloud