From: Kyle Roarty Date: Thu, 13 Aug 2020 19:31:36 +0000 (-0500) Subject: configs: Use proper keywordargs for RedirectPath in apu_se X-Git-Tag: v20.1.0.0~314 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f01f4fd6d93a27843364080a535aa01f7690ebb;p=gem5.git configs: Use proper keywordargs for RedirectPath in apu_se RedirectPath uses app_path and host_paths instead of src and dests. This patch fixes that in apu_se. The patch also changes the formatting for those lines, as simply replacing dests with host_paths put the lines over the 80 char limit. Change-Id: If7e4c41f2f52bc3d5aa26465c786294f9b68f8d3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32655 Reviewed-by: Jason Lowe-Power Reviewed-by: Matt Sinclair Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py index 25c148e49..b629058f0 100644 --- a/configs/example/apu_se.py +++ b/configs/example/apu_se.py @@ -614,12 +614,15 @@ else: ########################## Start simulation ######################## -redirect_paths = [RedirectPath(src = "/proc", - dests = ["%s/fs/proc" % m5.options.outdir]), - RedirectPath(src = "/sys", - dests = ["%s/fs/sys" % m5.options.outdir]), - RedirectPath(src = "/tmp", - dests = ["%s/fs/tmp" % m5.options.outdir])] +redirect_paths = [RedirectPath(app_path = "/proc", + host_paths = + ["%s/fs/proc" % m5.options.outdir]), + RedirectPath(app_path = "/sys", + host_paths = + ["%s/fs/sys" % m5.options.outdir]), + RedirectPath(app_path = "/tmp", + host_paths = + ["%s/fs/tmp" % m5.options.outdir])] system.redirect_paths = redirect_paths