changeset 7b86c22356ab in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=7b86c22356ab
description:
        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:

 src/cpu/kvm/base.cc |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 16f9d1fd37da -r 7b86c22356ab src/cpu/kvm/base.cc
--- a/src/cpu/kvm/base.cc       Mon Jun 03 12:28:52 2013 +0200
+++ b/src/cpu/kvm/base.cc       Mon Jun 03 12:36:56 2013 +0200
@@ -171,6 +171,8 @@
     } else {
         inform("KVM: Coalesced not supported by host OS\n");
     }
+
+    thread->startup();
 }
 
 void
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to