Added support to specify cmdline for the booted kernels for both the CLI
and the frontend. For the CLI there is a new "--kernel-cmdline" option
that will be used for all the kernels configured to be booted with the
"-k" parameter. For the frontend there's a new textbox under the kernel
version one where cmdline can be provided.
Signed-off-by: Mihai Rusu <dizzy@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3599 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface.py b/frontend/afe/rpc_interface.py
index 67da52d..95016ff 100644
--- a/frontend/afe/rpc_interface.py
+++ b/frontend/afe/rpc_interface.py
@@ -351,7 +351,8 @@
Generates a client-side control file to load a kernel and run tests.
@param tests List of tests to run.
- @param kernel Kernel to install in generated control file.
+ @param kernel A list of kernel info dictionaries configuring which kernels
+ to boot for this job and other options for them
@param label Name of label to grab kernel config from.
@param profilers List of profilers to activate during the job.
@param client_control_file The contents of a client-side control file to
@@ -379,7 +380,7 @@
rpc_utils.prepare_generate_control_file(tests, kernel, label,
profilers))
cf_info['control_file'] = control_file.generate_control(
- tests=test_objects, kernel=kernel, platform=label,
+ tests=test_objects, kernels=kernel, platform=label,
profilers=profiler_objects, is_server=cf_info['is_server'],
client_control_file=client_control_file)
return cf_info