There is no need to pass the test case names to the VMs when using
parallel-vm.py. Removing those from the command line helps in avoiding
kernel panic if maximum number of kernel parameters limit is hit.
Signed-off-by: Jouni Malinen <j@w1.fi>
tests.append(name)
if len(tests) == 0:
sys.exit("No test cases selected")
+ extra_args = [x for x in sys.argv[2:] if x not in tests]
dir = '/tmp/hwsim-test-logs'
try:
print("\rStarting virtual machine {}/{}".format(i + 1, num_servers)),
cmd = ['./vm-run.sh', '--timestamp', str(timestamp),
'--ext', 'srv.%d' % (i + 1),
- '-i'] + sys.argv[2:]
+ '-i'] + extra_args
vm[i] = {}
vm[i]['proc'] = subprocess.Popen(cmd,
stdin=subprocess.PIPE,