Skip to content

Commit

Permalink
boot-qemu.py: Implement '--append'
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Feb 27, 2023
1 parent c8c6eb4 commit 358761b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions boot-qemu.py
Expand Up @@ -238,6 +238,9 @@ def parse_arguments():
'--kernel-location',
required=True,
help='Absolute or relative path to kernel image or build folder.')
parser.add_argument('--append',
help='Append items to kernel cmdline',
nargs='+')
parser.add_argument(
'--no-kvm',
action='store_true',
Expand Down Expand Up @@ -273,6 +276,9 @@ def parse_arguments():
else:
runner.kernel_dir = kernel_location

if args.append:
runner.cmdline += args.append

if args.no_kvm:
runner.use_kvm = False

Expand Down

0 comments on commit 358761b

Please sign in to comment.