Introduce KVM_CAP_PPC_DAWR1 which can be used by QEMU to query whether KVM supports 2nd DAWR or not. The capability is by default disabled even when the underlying CPU supports 2nd DAWR. QEMU needs to check and enable it manually to use the feature.
Showing the changes to tools/include/uapi/linux (1 of 6 files). Show all
Unified · Split
| @@ -1056,6 +1056,7 @@ struct kvm_ppc_resize_hpt { · 1055 unmodified lines | |||
| 1056 | #define KVM_CAP_ENFORCE_PV_FEATURE_CPUID 190 | 1056 | #define KVM_CAP_ENFORCE_PV_FEATURE_CPUID 190 |
| 1057 | #define KVM_CAP_SYS_HYPERV_CPUID 191 | 1057 | #define KVM_CAP_SYS_HYPERV_CPUID 191 |
| 1058 | #define KVM_CAP_DIRTY_LOG_RING 192 | 1058 | #define KVM_CAP_DIRTY_LOG_RING 192 |
| 1059 | #define KVM_CAP_PPC_DAWR1 194 | ||
| 1059 | 1060 | ||
| 1060 | #ifdef KVM_CAP_IRQ_ROUTING | 1061 | #ifdef KVM_CAP_IRQ_ROUTING |
| 1061 | 1062 | ||