Introduce a new KVM capability, KVM_CAP_PPC_HTM, that can be queried to determine if a PowerPC KVM guest should use HTM (Hardware Transactional Memory). This will be used by QEMU to populate the pa-features bits in the guest's device tree.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -869,6 +869,7 @@ struct kvm_ppc_smmu_info { · 868 unmodified lines | |||
| 869 | #define KVM_CAP_X2APIC_API 129 | 869 | #define KVM_CAP_X2APIC_API 129 |
| 870 | #define KVM_CAP_S390_USER_INSTR0 130 | 870 | #define KVM_CAP_S390_USER_INSTR0 130 |
| 871 | #define KVM_CAP_MSI_DEVID 131 | 871 | #define KVM_CAP_MSI_DEVID 131 |
| 872 | #define KVM_CAP_PPC_HTM 132 | ||
| 872 | 873 | ||
| 873 | #ifdef KVM_CAP_IRQ_ROUTING | 874 | #ifdef KVM_CAP_IRQ_ROUTING |
| 874 | 875 | ||