[gem5-users] ARM KVM Switch + Restoration

2023-08-01 Thread AbdelQader AlKilany via gem5-users
Hello gem5 users,

I was wondering if it is possible to start a FS ARM simulation using KVM, 
switch to another CPU type such as Atomic, then restore the CPU type(Atomic), 
and maybe even switch again to O3.

I have tried to do this using the standard library but I have encountered some 
errors such as:

build/ALL/sim/serialize.hh:379: fatal: fatal condition !paramInImpl(cp, name, 
param) occurred: Can't unserialize 'board.processor.start.core:_pid'


I am using:
platform VExpress_Gem5_V1 (since it's the only one I found to work with KVM)
release ArmRelease.for_kvm()

I used this for both the checkpointing and restoring simulations (I found the 
release worked for non KVM CPUs when not restoring).

Thank you for any help!
Abdal
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] ARM KVM

2021-07-12 Thread Νικόλαος Ταμπουρατζής via gem5-users

Dear gem5 community,

I have installed the latest gem5 on an x86 machine. Is it possible to  
run ARM FS with kvm on X86 machine or the host machine must be  
ARM-based?


I try to execute the following configuration (from this thread  
https://www.mail-archive.com/gem5-users@gem5.org/msg19472.html):


$GEM5/build/ARM/gem5.opt $GEM5/configs/example/arm/fs_bigLITTLE.py  
--kernel=vmlinux.arm64 --machine-type VExpress_GEM5 --disk  
ubuntu-18.04-arm64-docker.img --cpu-type kvm --big-cpus 4


and I get the following error (which means that there is not the kvm option):

fs_bigLITTLE.py: error: argument --cpu-type: invalid choice: 'kvm'  
(choose from 'atomic', 'timing', 'exynos')


May you help me, please?

Best regards,
Nikos



___
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


[gem5-users] ARM KVM support

2015-07-28 Thread Junaid Shuja
Hi,
The KVM support should theoretically increase the speed/performance of the
emulated system. I tried to compare ARM KVM (--arm-iset=aarch64) and ARM
(--arm-iset=arm). I used simple for loops (in millions) doing integer
instructions. But the result of both --arm-iset=aarch64 and arm were
similar with no significant performance gain. The instructions I used to
emulate the full system are,

build/ARM/gem5.fast configs/example/fs.py
--disk-image=/home/junaid/gem5/full_system_images/disks/aarch64-ubuntu-trusty-headless.img
--machine-type=VExpress_EMM64 --arm-iset=arm

AND

build/ARM/gem5.fast configs/example/fs.py
--disk-image=/home/junaid/gem5/full_system_images/disks/aarch64-ubuntu-trusty-headless.img
--machine-type=VExpress_EMM64 --arm-iset=aarch64

Is the ARM-KVM support still in process? Or did I miss something?

-- 
Junaid Shuja
WHA130039
PhD Student, FSKTM
University of Malaya
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] ARM KVM support

2015-06-18 Thread Andreas Hansson
Hi Junaid,

That was a long time ago…

The aarch64 KVM cpu model should be working just fine (in full-system mode).

Andreas

From: Junaid Shuja 
junaidsh...@siswa.um.edu.mymailto:junaidsh...@siswa.um.edu.my
Reply-To: gem5 users mailing list 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Thursday, 18 June 2015 00:33
To: gem5-users@gem5.orgmailto:gem5-users@gem5.org 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: [gem5-users] ARM KVM support

Hi,
In the gem5 tutorial, it is stated that KVM ARM support is under work.
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf

Can you please specify the current status of this work?
--
Junaid Shuja
WHA130039
PhD Student, FSKTM
University of Malaya

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company No: 2548782
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] ARM KVM support

2015-06-18 Thread Junaid Shuja
Hi,
In the gem5 tutorial, it is stated that KVM ARM support is under work.
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf

Can you please specify the current status of this work?
-- 
Junaid Shuja
WHA130039
PhD Student, FSKTM
University of Malaya
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users