[OE-core] [PATCH V2 3/3] runqemu-internal: provide more info if a preconfigured tap is used

Qi.Chen at windriver.com Qi.Chen at windriver.com
Wed Aug 28 02:52:05 UTC 2013


From: Chen Qi <Qi.Chen at windriver.com>

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]

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 scripts/runqemu-internal |    1 +
 1 file changed, 1 insertion(+)

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() {
-- 
1.7.9.5




More information about the Openembedded-core mailing list