I’ve been experimenting around with the Orin and was able to run an ubuntu20.04 Arm64 vm using “gic-version 2” with up to 8 vcpu’s.
However in order to utilize more than 8 vcpu’s a VGIC of GICv3 is required.
From docs regarding the Orin it should fully support GICv3 using the GIC-600AE in the Soc.
When starting qemu with gic-version 3 the output is as follows.
user@orin ~> virsh start ubuntu20.04
error: Failed to start domain ubuntu20.04
error: internal error: process exited while connecting to monitor: 2022-06-01T09:30:58.465325Z qemu-system-aarch64: Initialization of device kvm-arm-gicv3 failed: error creating in-kernel VGIC: No such device
From historical posts there was some patching done in dts to introduce GICV and GICH for GICv2 on the GIC-400 in Xavier:
However this Orin is a more modern GICv3 using GIC-600AE that as far as i know doesnt have GICH and GICV anymore. But should be able to create a VGIC.
"2.2.3 vGIC in CCPLEX
The Interrupt controller used for the CCPLEX cluster is a GICv3 which supports virtualization. The vGIC is an SMP
Interrupt controller with eight channels (one per CPU core in the CCPLEX) and receiving Interrupts targeted to (any) one
or more of the CPUs in the CCPLEX."
Please help. What am i missing?