projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e60f87
)
kvm: Add a call to thread->startup() in startup()
author
Andreas Sandberg
<andreas@sandberg.pp.se>
Mon, 3 Jun 2013 10:36:56 +0000
(12:36 +0200)
committer
Andreas Sandberg
<andreas@sandberg.pp.se>
Mon, 3 Jun 2013 10:36:56 +0000
(12:36 +0200)
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.
src/cpu/kvm/base.cc
patch
|
blob
|
history
diff --git
a/src/cpu/kvm/base.cc
b/src/cpu/kvm/base.cc
index bc650aee9bb09d29043a8f9efe269ac620302244..b5f64664f13be6fc735e4c55c30316a87102fdb2 100644
(file)
--- 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