[gem5-users] FS KVM switching cpu

2020-11-21 Thread sujayyadalam--- via gem5-users
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...

[gem5-users] Re: Some Problems About m5.fork()

2020-11-21 Thread sujayyadalam--- via gem5-users
The below config shows how to use m5.fork(). You could refer to it and edit Simulation.py appropriately. >From the image attached, you need to disable all Listener ports. You can do so >by using m5.disableAllListeners(). https://github.com/darchr/gem5/blob/jason/kvm-testing/configs/myconfigs/sam

[gem5-users] Re: FS KVM switching cpu

2020-11-21 Thread sujayyadalam--- via gem5-users
Hi Hoa Nguyen, Thanks for pointing out to those resources. I spent some more time and figured out that the issue is with the ruby subsystem. I am able to switch cpus when I use classic caches but not when I use ruby caches. I will try to get more info as to why this is happening. Regards, Suj

[gem5-users] Re: FS KVM switching cpu

2020-11-23 Thread sujayyadalam--- via gem5-users
So I was able to solve this by creating a new config from scratch. Previously, I was using a modified version of the fs.py. Now, I used the run_npb.py in gem5-resources as the start. I don't know what in fs.py causes this problem. Thanks Nguyen for your help! ___