From: Andreas Sandberg Date: Mon, 3 Jun 2013 10:36:56 +0000 (+0200) Subject: kvm: Add a call to thread->startup() in startup() X-Git-Tag: stable_2013_10_14~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b65fce5d98a23301676acd972fd78f61a988ab1;p=gem5.git 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. --- 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