diff options
Diffstat (limited to 'scripts/qemuimage-testlib-pythonhelper')
-rwxr-xr-x | scripts/qemuimage-testlib-pythonhelper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib-pythonhelper b/scripts/qemuimage-testlib-pythonhelper index 4e6432b0fe..6435dd8f18 100755 --- a/scripts/qemuimage-testlib-pythonhelper +++ b/scripts/qemuimage-testlib-pythonhelper | |||
@@ -54,9 +54,10 @@ if options.findqemu: | |||
54 | #print "Children matching %s:" % str(parents) | 54 | #print "Children matching %s:" % str(parents) |
55 | for p in parents: | 55 | for p in parents: |
56 | # Need to be careful here since runqemu-internal runs "ldd qemu-system-xxxx" | 56 | # Need to be careful here since runqemu-internal runs "ldd qemu-system-xxxx" |
57 | # Also, old versions of ldd (2.11) run "LD_XXXX qemu-system-xxxx" | ||
57 | basecmd = commands[p].split()[0] | 58 | basecmd = commands[p].split()[0] |
58 | basecmd = os.path.basename(basecmd) | 59 | basecmd = os.path.basename(basecmd) |
59 | if "qemu-system" in basecmd: | 60 | if "qemu-system" in basecmd and "192.168" in commands[p]: |
60 | print p | 61 | print p |
61 | sys.exit(0) | 62 | sys.exit(0) |
62 | sys.exit(1) | 63 | sys.exit(1) |