aarch64: Add OneReg to the list required extensions for KVM
Without that capability save / restore for aarch64 won't work.
@@ -127,6 +127,9 @@ pub fn check_required_kvm_extensions(kvm: &Kvm) -> KvmResult<()> {
if !kvm.check_extension(Cap::SignalMsi) {
return Err(KvmError::CapabilityMissing(Cap::SignalMsi));
}
+ if !kvm.check_extension(Cap::OneReg) {
+ return Err(KvmError::CapabilityMissing(Cap::OneReg));
+ }
Ok(())
}
