Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 is not support kvm? #63

Open
heixi opened this issue Aug 6, 2021 · 1 comment
Open

aarch64 is not support kvm? #63

heixi opened this issue Aug 6, 2021 · 1 comment

Comments

@heixi
Copy link

heixi commented Aug 6, 2021

i want using kvm in qemu-system-aarch64. when i set enable-kvm, a problem is raise:

qemu-system-aarch64: /qemu/exec.c:936: cpu_address_space_init: Assertion `asidx == 0 || !kvm_enabled()' failed

i do not understand this assert() condition? why.

@ddompe
Copy link

ddompe commented Nov 9, 2021

I hit the same issue and applied some extra patches from mainstream QEMU that clarified the source of the error. You cannot use KVM when you have EL3 enabled (aka, the ARM Trusted Firmware), and at least for the MPSoC targets, the Xilinx tools are providing EL3. At this point I think the emulated performance is acceptable for my use cases so I'm not going down the path of trying to run without EL3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants