From e9ff182b31c5e1f734c2222bff8d9e5c00b3706a Mon Sep 17 00:00:00 2001 From: Kyle Roarty Date: Thu, 6 Aug 2020 18:47:17 -0500 Subject: [PATCH] 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 --- configs/example/apu_se.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py index 82e40226f..fcec7c140 100644 --- a/configs/example/apu_se.py +++ b/configs/example/apu_se.py @@ -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()) -- 2.30.2