diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-03 12:36:56 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-03 12:36:56 +0200 |
commit | 2b65fce5d98a23301676acd972fd78f61a988ab1 (patch) | |
tree | 292cb50edd3024796df0550c856f21960317ea11 /src/cpu/kvm | |
parent | 5e60f87aa3ec4ef9503e6bca54ebfd3c5a543aec (diff) | |
download | gem5-2b65fce5d98a23301676acd972fd78f61a988ab1.tar.xz |
kvm: Add a call to thread->startup() in startup()
It is now required to initialize the thread context by calling
startup() on it. Failing to do so currently causes decoder in
x86-based CPUs to get very confused when restoring from checkpoints.
Diffstat (limited to 'src/cpu/kvm')
-rw-r--r-- | src/cpu/kvm/base.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/kvm/base.cc b/src/cpu/kvm/base.cc index bc650aee9..b5f64664f 100644 --- a/src/cpu/kvm/base.cc +++ b/src/cpu/kvm/base.cc @@ -171,6 +171,8 @@ BaseKvmCPU::startup() } else { inform("KVM: Coalesced not supported by host OS\n"); } + + thread->startup(); } void |