sim-se: Enhance clone for X86KvmCPU
authorAlexandru Dutu <alexandru.dutu@amd.com>
Tue, 16 Apr 2019 03:36:36 +0000 (23:36 -0400)
committerAlexandru Duțu <alexandru.dutu@amd.com>
Mon, 22 Apr 2019 23:11:31 +0000 (23:11 +0000)
commitc5b3db6da28611280c291d9e0540f087cf55a54e
tree71506b9c6f2f6b0fc5d4a3361ee2e247cf518805
parent382263c6706296fee2548f74fd4b811553106dba
sim-se: Enhance clone for X86KvmCPU

This changeset enables clone to work with X86KvmCPU model, which
will allow running multi-threaded applications at near hardware
speeds. Even though the application is multi-threaded, the KvmCPU
model uses one event queue, therefore, only one hardware thread
will be used, through KVM, to simulate multiple application threads.

Change-Id: I2b2a7b1edb1c56eeb9c4fa0553cd236029cd53f8
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18268
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/process.cc
src/mem/multi_level_page_table.hh
src/mem/page_table.hh
src/sim/process.cc
src/sim/process.hh
src/sim/syscall_emul.hh