summaryrefslogtreecommitdiff
path: root/configs/ruby
diff options
context:
space:
mode:
authorDavid Hashe <david.j.hashe@gmail.com>2016-08-22 11:43:44 -0400
committerDavid Hashe <david.j.hashe@gmail.com>2016-08-22 11:43:44 -0400
commitd1abc287f6ae824b56e431774cae9bf6082486d6 (patch)
tree1fe3d90239e415982648a2547fa5053c0d7b234f /configs/ruby
parent9d324e135c96ad089b5404a274eff84695f02fd0 (diff)
downloadgem5-d1abc287f6ae824b56e431774cae9bf6082486d6.tar.xz
config: KVM acceleration for apu_se.py
Add support for using KVM to accelerate APU simulations. The intended use case is to fast-forward through runtime initialization until the first kernel launch.
Diffstat (limited to 'configs/ruby')
-rw-r--r--configs/ruby/Ruby.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 3ee92c2f6..1a8360f23 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -122,6 +122,9 @@ def setup_memory_controllers(system, ruby, dir_cntrls, options):
MemConfig.get(options.mem_type), r, index, options.num_dirs,
int(math.log(options.num_dirs, 2)), options.cacheline_size)
+ if options.access_backing_store:
+ mem_ctrl.kvm_map=False
+
mem_ctrls.append(mem_ctrl)
if crossbar != None: