Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx> --- client/tests/kvm/kvm_vm.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index 966fb3c..87b037f 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -287,6 +287,9 @@ class VM: def add_initrd(help, filename): return " -initrd '%s'" % filename + def add_kernel_cmdline(help, cmdline): + return " -append %s" % cmdline + # End of command line option wrappers if name is None: name = self.name @@ -394,6 +397,10 @@ class VM: kernel = kvm_utils.get_path(root_dir, kernel) qemu_cmd += add_kernel(help, kernel) + kernel_cmdline = params.get("kernel_cmdline") + if kernel_cmdline: + qemu_cmd += add_kernel_cmdline(help, kernel_cmdline) + initrd = params.get("initrd") if initrd: initrd = kvm_utils.get_path(root_dir, initrd) -- 1.7.0.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html