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

Submitted by Qi.Chen@windriver.com on Aug. 28, 2013, 2:52 a.m.


Message ID f0b21f7218b037ed76014a341b68568ef4474675.1377658086.git.Qi.Chen@windriver.com
State Accepted
Commit ec08d92641cc51c567cc3745937b1839d3faa095
Headers show

Commit Message

Qi.Chen@windriver.com Aug. 28, 2013, 2:52 a.m.
From: Chen Qi <Qi.Chen@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@windriver.com>
 scripts/runqemu-internal |    1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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
             echo "Using preconfigured tap device '$TAP'"
+            echo "If this is not intended, use flock on $LOCKFILE.lock to make runqemu skip $TAP."
         cleanup() {