Hello,

I'm still trying the KVM cpu for ARM. As far as I can understand:

1) You have to install a linux kernel in an ARM board, both suppoting
virtualization/kvm
2) Your bootloader/bootstrapper should enable the Execution Level 2
(hypervisor mode) in your ARM processor before calling the Linux kernel
3) If 1 and 2 are ok, you should see "kvm [1]: Hyp mode initialized
successfully" in the boot messages
4) You have to compile gem5 to run in the ARM board (gem5 should find the
kvm headers in your linux distro).
5) Run gem5 in FS mode with "--cpu-type=ArmV8KvmCPU" (probably there's a V7
version for ARMv7-A)

If step 3 fail, trying to enable the hyp mode in the bootloader may not be
an easy task...

Hope it helps,

--
Fernando A. Endo, Post-doc

INRIA Rennes-Bretagne Atlantique
France


2015-11-30 14:28 GMT+01:00 Nizamudheen Ahmed <nizam.ah...@gmail.com>:

> Hi,
>
> I would like to run my ARM benchmarks on virtualized system. My assumption
> is the linux + KVM should provide me the right platform to run. C an
> someone help me ratify my assumption?
>
> The KVM support in Linux on ARM was added in 3.9 linux kernel. Have
> someone compiled and run 3.9 kernel on ARM on GEM5. Kindly share
> information.
>
> BR/Nizam
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to