configs: Remove remnants of /dev/shm mapping from apu_se
authorKyle Roarty <kyleroarty1716@gmail.com>
Thu, 6 Aug 2020 23:47:17 +0000 (18:47 -0500)
committerKyle Roarty <kyleroarty1716@gmail.com>
Fri, 14 Aug 2020 02:06:54 +0000 (02:06 +0000)
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 <mattdsinclair@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/example/apu_se.py

index 82e40226f99e34065323e2972da6820641b82198..fcec7c14050d11aa96c951a1124818a0b084a024 100644 (file)
@@ -622,10 +622,7 @@ redirect_paths = [RedirectPath(src = "/proc",
                   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 @@ elif options.fast_forward_pseudo_op:
 print("Ticks:", m5.curTick())
 print('Exiting because ', exit_event.getCause())
 
-FileSystemConfig.cleanup_filesystem(options)
-
 sys.exit(exit_event.getCode())