Hi all,
I am trying to run x86 FS such that the kernel boot happens with X86KvmCPU and
then switches to TimingCpu. I am able to boot successfully with X86KvmCPU.
Unfortunately, when the cpus are switched, the simulation is stuck at "Entering
event queue @ 20398889241500. Starting simulation...".
However, when I don't use separate event queues for each cpu, i.e. I remove the
below code, then I can switchcpus successfully. The catch is that when I remove
the below code, I can simulate 1 or 2 cores.
for i,cpu in enumerate(test_sys.cpu):
for obj in cpu.descendants():
obj.eventq_index = 0
cpu.eventq_index = i + 1
Anybody have any idea what's happening? How can I scale to more than 2 cores?
or How can I fix the first issue of gem5 being stuck?
About my setup:
Config similar to that written by Jason (
https://github.com/darchr/gem5/tree/jason/kvm-testing/configs/myconfigs )
Kernel: linux-4.8.13 ( config obtained from
http://www.lowepower.com/jason/files/config )
Disk Image: Custom image based on Ubuntu 16.04
Using ruby subsystem
No significant changes to gem5 (forked from the stable branch 2 months ago)
except for adding the changes related to KvmCPU.
(https://gem5-review.googlesource.com/c/public/gem5/+/7361)
Any help would be appreciated.
Thanks,
Sujay
PhD Student
UW Madison
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s