kvm: KVM_CAP_IRQCHIP not needed on ARM
We are using KVM_CREATE_DEVICE to setup the
irqchip on ARM guests and not KVM_CREATE_IRQCHIP. Since
KVM_CAP_IRQCHIP is only mandated by the use of KVM_CREATE_IRQCHIP,
this means that on ARM we do not actually need to check for that
kvm capability.
@@ -78,7 +78,7 @@ impl KvmContext {
#[cfg(target_arch = "aarch64")]
let capabilities = vec![
- Irqchip, Ioeventfd, Irqfd, UserMemory, ArmPsci02, DeviceCtrl, MpState, OneReg,
+ Ioeventfd, Irqfd, UserMemory, ArmPsci02, DeviceCtrl, MpState, OneReg,
];
// Check that all desired capabilities are supported.
