diff options
author | Shannon Zhao | 2016-01-11 13:56:17 +0100 |
---|---|---|
committer | Marc Zyngier | 2016-02-29 19:34:21 +0100 |
commit | f577f6c2a6a5ccabe98061f256a1e2ff468d5e93 (patch) | |
tree | 278bd52115efb03e8d23ab4f80969a9bd1d6dab3 /include/uapi/linux/kvm.h | |
parent | arm64: KVM: Add a new feature bit for PMUv3 (diff) | |
download | kernel-qcow2-linux-f577f6c2a6a5ccabe98061f256a1e2ff468d5e93.tar.gz kernel-qcow2-linux-f577f6c2a6a5ccabe98061f256a1e2ff468d5e93.tar.xz kernel-qcow2-linux-f577f6c2a6a5ccabe98061f256a1e2ff468d5e93.zip |
arm64: KVM: Introduce per-vcpu kvm device controls
In some cases it needs to get/set attributes specific to a vcpu and so
needs something else than ONE_REG.
Let's copy the KVM_DEVICE approach, and define the respective ioctls
for the vcpu file descriptor.
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r-- | include/uapi/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index dc16d3084d4a..50f44a229212 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -851,6 +851,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_HYPERV_SYNIC 123 #define KVM_CAP_S390_RI 124 #define KVM_CAP_ARM_PMU_V3 125 +#define KVM_CAP_VCPU_ATTRIBUTES 126 #ifdef KVM_CAP_IRQ_ROUTING |