Commit 57752b79 authored by Alexandru Elisei's avatar Alexandru Elisei
Browse files

KVM: arm64: Allow userspace to enable SPE for guests

Everything is in place to emulate SPE for a guest, allow userspace to set
the VCPU feature.
parent 0c76f4fe
......@@ -39,7 +39,7 @@
#define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS
#define KVM_VCPU_MAX_FEATURES 7
#define KVM_VCPU_MAX_FEATURES 8
#define KVM_REQ_SLEEP \
KVM_ARCH_REQ_FLAGS(0, KVM_REQUEST_WAIT | KVM_REQUEST_NO_WAKEUP)
......
......@@ -309,7 +309,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
break;
case KVM_CAP_ARM_SPE:
kvm_spe_init_supported_cpus();
r = 0;
r = kvm_supports_spe();
break;
default:
r = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment