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 include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -1077,6 +1077,7 @@ struct kvm_ppc_resize_hpt { · 1076 unmodified lines | |||
| 1077 | #define KVM_CAP_SYS_HYPERV_CPUID 191 | 1077 | #define KVM_CAP_SYS_HYPERV_CPUID 191 |
| 1078 | #define KVM_CAP_DIRTY_LOG_RING 192 | 1078 | #define KVM_CAP_DIRTY_LOG_RING 192 |
| 1079 | #define KVM_CAP_X86_BUS_LOCK_EXIT 193 | 1079 | #define KVM_CAP_X86_BUS_LOCK_EXIT 193 |
| 1080 | #define KVM_CAP_PPC_DAWR1 194 | ||
| 1080 | 1081 | ||
| 1081 | #ifdef KVM_CAP_IRQ_ROUTING | 1082 | #ifdef KVM_CAP_IRQ_ROUTING |
| 1082 | 1083 | ||