[gem5-dev] Change in gem5/gem5[develop]: configs: Remove remnants of /dev/shm mapping from apu_se

2020-08-13 Thread Kyle Roarty (Gerrit) via gem5-dev
Kyle Roarty has submitted this change. (  
https://gem5-review.googlesource.com/c/public/gem5/+/32354 )


Change subject: configs: Remove remnants of /dev/shm mapping from apu_se
..

configs: Remove remnants of /dev/shm mapping from apu_se

This patch removes a redirect for /dev/shm. It also removes
a function call that cleaned up the /dev/shm redirect

Change-Id: Iec2598c715223d079bc5dfd2ea52859945706cfc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32354
Reviewed-by: Matt Sinclair 
Reviewed-by: Jason Lowe-Power 
Maintainer: Jason Lowe-Power 
Tested-by: kokoro 
---
M configs/example/apu_se.py
1 file changed, 1 insertion(+), 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 82e4022..fcec7c1 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -622,10 +622,7 @@
   RedirectPath(src = "/sys",
dests = ["%s/fs/sys"  % m5.options.outdir]),
   RedirectPath(src = "/tmp",
-   dests = ["%s/fs/tmp"  % m5.options.outdir]),
-  RedirectPath(src = "/dev/shm",
-   dests = ["/dev/shm/%s/gem5_%s"  %
-   (getpass.getuser(), os.getpid())])]
+   dests = ["%s/fs/tmp"  % m5.options.outdir])]

 system.redirect_paths = redirect_paths

@@ -681,6 +678,4 @@
 print("Ticks:", m5.curTick())
 print('Exiting because ', exit_event.getCause())

-FileSystemConfig.cleanup_filesystem(options)
-
 sys.exit(exit_event.getCode())

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32354
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: Iec2598c715223d079bc5dfd2ea52859945706cfc
Gerrit-Change-Number: 32354
Gerrit-PatchSet: 4
Gerrit-Owner: Kyle Roarty 
Gerrit-Reviewer: Anthony Gutierrez 
Gerrit-Reviewer: Brandon Potter 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Kyle Roarty 
Gerrit-Reviewer: Matt Sinclair 
Gerrit-Reviewer: Matthew Poremba 
Gerrit-Reviewer: kokoro 
Gerrit-CC: Bradford Beckmann 
Gerrit-MessageType: merged
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Change in gem5/gem5[develop]: configs: Remove remnants of /dev/shm mapping from apu_se

2020-08-06 Thread Kyle Roarty (Gerrit) via gem5-dev
Kyle Roarty has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/32354 )



Change subject: configs: Remove remnants of /dev/shm mapping from apu_se
..

configs: Remove remnants of /dev/shm mapping from apu_se

Change-Id: Iec2598c715223d079bc5dfd2ea52859945706cfc
---
M configs/example/apu_se.py
1 file changed, 0 insertions(+), 5 deletions(-)



diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index 82e4022..3c532c4 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -623,9 +623,6 @@
dests = ["%s/fs/sys"  % m5.options.outdir]),
   RedirectPath(src = "/tmp",
dests = ["%s/fs/tmp"  % m5.options.outdir]),
-  RedirectPath(src = "/dev/shm",
-   dests = ["/dev/shm/%s/gem5_%s"  %
-   (getpass.getuser(), os.getpid())])]

 system.redirect_paths = redirect_paths

@@ -681,6 +678,4 @@
 print("Ticks:", m5.curTick())
 print('Exiting because ', exit_event.getCause())

-FileSystemConfig.cleanup_filesystem(options)
-
 sys.exit(exit_event.getCode())

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32354
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: Iec2598c715223d079bc5dfd2ea52859945706cfc
Gerrit-Change-Number: 32354
Gerrit-PatchSet: 1
Gerrit-Owner: Kyle Roarty 
Gerrit-MessageType: newchange
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s