diff options
author | David Hashe <david.j.hashe@gmail.com> | 2016-08-22 11:43:44 -0400 |
---|---|---|
committer | David Hashe <david.j.hashe@gmail.com> | 2016-08-22 11:43:44 -0400 |
commit | d1abc287f6ae824b56e431774cae9bf6082486d6 (patch) | |
tree | 1fe3d90239e415982648a2547fa5053c0d7b234f /configs/ruby | |
parent | 9d324e135c96ad089b5404a274eff84695f02fd0 (diff) | |
download | gem5-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.py | 3 |
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: |