From: Kyle Roarty Date: Thu, 6 Aug 2020 23:47:17 +0000 (-0500) Subject: configs: Remove remnants of /dev/shm mapping from apu_se X-Git-Tag: v20.1.0.0~316 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9ff182b31c5e1f734c2222bff8d9e5c00b3706a;p=gem5.git 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 --- 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())