Kyle Roarty has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/32655 )

Change subject: configs: Use proper keywordargs for RedirectPath in apu_se
......................................................................

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 <[email protected]>
Reviewed-by: Matt Sinclair <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
Tested-by: kokoro <[email protected]>
---
M configs/example/apu_se.py
1 file changed, 9 insertions(+), 6 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
  Matt Sinclair: Looks good to me, approved
  kokoro: Regressions pass



diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index 25c148e..b629058 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -614,12 +614,15 @@

 ########################## 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


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32655
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: If7e4c41f2f52bc3d5aa26465c786294f9b68f8d3
Gerrit-Change-Number: 32655
Gerrit-PatchSet: 4
Gerrit-Owner: Kyle Roarty <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Kyle Roarty <[email protected]>
Gerrit-Reviewer: Matt Sinclair <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-CC: Anthony Gutierrez <[email protected]>
Gerrit-CC: Bradford Beckmann <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to