runqemu-internal: provide more info if a preconfigured tap is used
authorChen Qi <Qi.Chen@windriver.com>
Wed, 28 Aug 2013 02:52:05 +0000 (10:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2013 15:23:47 +0000 (16:23 +0100)
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>
scripts/runqemu-internal

index 8165e13..f9d8728 100755 (executable)
@@ -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() {