Hi,
I'm wondering if the check [1] preventing "aarch64=off" without KMV is
still valid nowadays and if yes, if anyone has ideas about what are
the remaining blockers ?
For the record, I was able to boot the Fedora kernel coming for our
function/arm/test_virt on cortex-a53, after having removed that check.
| qemu-system-aarch64 -cpu cortex-a53,aarch64=off -M virt -kernel vmlinuz \
-append "printk.time=0 console=ttyAMA0" -nographic
| Booting Linux on physical CPU 0x0
| Linux version 4.18.16-300.fc29.armv7hl
([email protected]) (gcc version
8.2.1 20180801 (Red Hat 8.2.1-2) (GCC)) #1 SMP Sun Oct 21 00:56:28 UTC
2018
| CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5387d
...
[1]
https://gitlab.com/qemu-project/qemu/-/blob/master/target/arm/cpu.c?ref_type=heads#L1213
| static void aarch64_cpu_set_aarch64(Object *obj, bool value, Error **errp)
| {
| [...]
| if (!kvm_enabled() || !kvm_arm_aarch32_supported()) {
| error_setg(errp, "'aarch64' feature cannot be disabled "
| "unless KVM is enabled and 32-bit EL1 "
| "is supported");
| return;
| }
Thanks,
Clément