Hi All:
         I have a problem when I use KVM on aarch64 server with centos 7.6 
while it has no problem on the same aarch64 server with ubuntu18.04/ubuntu20.04.

Gem5 version is v21.2.0.0/v21.1.x.x/v21.0.x.x
Cmd: ./build/ARM/gem5.debug --debug-flags=Kvm ./configs/soc_base/fs.py -n 1 
--kernel=vmlinux-5.3.18-esl --machine-type=VExpress_GEM5_V1 
--disk-image=ubuntu-18.04-arm64-docker.img --mem-channels=2  
--mem-channels-intlv=512 --root=/dev/vda1 --param 
system.realview.gic.gem5_extensions=True 
--bootloader=./system/arm/bootloader/arm64/boot.arm64 --cpu-type=ArmV8KvmCPU  
--mem-size=32GB  --mem-type=SimpleMemory

Use centos7.6:
build/ARM/arch/arm/fs_workload.cc:121: info: Using bootloader at address 0x10
build/ARM/arch/arm/fs_workload.cc:139: info: Using kernel entry physical 
address at 0x80080000
build/ARM/arch/arm/linux/fs_workload.cc:97: info: Loading DTB file: 
m5out/system.dtb at address 0x88000000
**** REAL SIMULATION ****
      0: system.kvm_vm: Mapping 8 memory region(s)
      0: system.kvm_vm: Mapping region: 0x0xffff96750000 -> 0x0 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffff9b5d0000 -> 0x4000000 [size: 
0x40000]
      0: system.kvm_vm: Mapping region: 0x0xffff94750000 -> 0x6000000 [size: 
0x2000000]
      0: system.kvm_vm: Mapping region: 0x0xffff90750000 -> 0x8000000 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffff8c750000 -> 0xc000000 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffff8a750000 -> 0x18000000 [size: 
0x2000000]
      0: system.kvm_vm: Mapping region: 0x0xffff9b5c0000 -> 0x2e000000 [size: 
0x8000]
Failed to setup KVM memory region:
build/ARM/cpu/kvm/vm.cc:481: panic: Failed to setup KVM memory region:
        Host Address: 0x        Size: %ll

        Guest Address: 0x       Flags: 0x%x


Use ubuntu20.04:
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: m5out/system.dtb at address 0x88000000
**** REAL SIMULATION ****
      0: system.kvm_vm: Mapping 7 memory region(s)
      0: system.kvm_vm: Mapping region: 0x0xffffa3887000 -> 0x0 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffffafec4000 -> 0x4000000 [size: 
0x40000]
      0: system.kvm_vm: Mapping region: 0x0xffff9f887000 -> 0x8000000 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffff9b887000 -> 0xc000000 [size: 
0x4000000]
      0: system.kvm_vm: Mapping region: 0x0xffff99887000 -> 0x18000000 [size: 
0x2000000]
      0: system.kvm_vm: Mapping region: 0x0xffffb1210000 -> 0x2e000000 [size: 
0x8000]
      0: system.kvm_vm: Mapping region: 0x0xfff799887000 -> 0x80000000 [size: 
0x800000000]
info: KVM: Coalesced MMIO disabled by config.
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...


_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to