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.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -851,6 +851,7 @@ struct kvm_ppc_smmu_info { · 850 unmodified lines | ||
| 851 | 851 | #define KVM_CAP_HYPERV_SYNIC 123 |
| 852 | 852 | #define KVM_CAP_S390_RI 124 |
| 853 | 853 | #define KVM_CAP_ARM_PMU_V3 125 |
| 854 | +#define KVM_CAP_VCPU_ATTRIBUTES 126 | |
| 854 | 855 | |
| 855 | 856 | #ifdef KVM_CAP_IRQ_ROUTING |
| 856 | 857 | |