Skip to content

Commit 358761b

Browse files
committed
boot-qemu.py: Implement '--append'
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent c8c6eb4 commit 358761b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

boot-qemu.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ def parse_arguments():
238238
'--kernel-location',
239239
required=True,
240240
help='Absolute or relative path to kernel image or build folder.')
241+
parser.add_argument('--append',
242+
help='Append items to kernel cmdline',
243+
nargs='+')
241244
parser.add_argument(
242245
'--no-kvm',
243246
action='store_true',
@@ -273,6 +276,9 @@ def parse_arguments():
273276
else:
274277
runner.kernel_dir = kernel_location
275278

279+
if args.append:
280+
runner.cmdline += args.append
281+
276282
if args.no_kvm:
277283
runner.use_kvm = False
278284

0 commit comments

Comments
 (0)