From 9f01f4fd6d93a27843364080a535aa01f7690ebb Mon Sep 17 00:00:00 2001 From: Kyle Roarty Date: Thu, 13 Aug 2020 14:31:36 -0500 Subject: [PATCH] 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 --- configs/example/apu_se.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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 -- 2.30.2