Hi On 25/05/2023 18:50, AbdelQader AlKilany via gem5-users wrote: Hello gem5 users,
I was wondering if anyone has recently run an ARM fs simulation using a KVM CPU type, and if so whether there are any instructions on how to do so. (I've read that SE KVM is only supported with X86, but FS KVM is supported for ARM as well?) Yes it is I am using an ARM host and just to check KVM is working with my CPU I ran QEMU with KVM. I have tried running scripts such as fs.py and fs_bigLITTLE.py with KVM CPU, as well at stdlib scripts mimicking x86-ubuntu-run-with-kvm.py. I keep getting errors such as: build/ALL/cpu/kvm/device.cc:96: panic: Failed to set attribute (group: 3, attr: 0, errno: 22) or build/ARM/cpu/kvm/vm.cc:544: panic: KVM: Failed to create device (errno: 19) I have already seen this error and this usually comes from an incompatibility between the guest/host interrupt controller (GIC). If you are running fs_bigLITTLE.py without the --machine-type argument you are probably using VExpress_GEM5_V1 which uses a GICv2 controller. It could be your host machine uses GICv3. You have 2 solutions: a) You use VExpress_GEM5_Foundation (which has a GICv3 controller) b) You use VExpress_GEM5_V1 (default) with the --kvm-userspace-gic option Let me know if it works Giacomo [1]: https://github.com/gem5/gem5/blob/stable/configs/example/arm/fs_bigLITTLE.py#L303 or build/ALL/arch/arm/kvm/base_cpu.cc:223: panic: KVM: Failed to initialize vCPU; errno 22 (Invalid argument) If anyone has successfully run KVM with ARM or has also had this problem please let me know. Thank you for any help 😊 Abdal _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> 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.
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org