KVM_CAP_HALT_POLL is a per-VM capability that lets userspace control the halt-polling time, allowing halt-polling to be tuned or disabled on particular VMs. With dynamic halt-polling, a VM's VCPUs can poll from anywhere from [0, halt_poll_ns] on each halt. KVM_CAP_HALT_POLL sets the upper limit on the poll time.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -1017,6 +1017,7 @@ struct kvm_ppc_resize_hpt { · 1016 unmodified lines | ||
| 1017 | 1017 | #define KVM_CAP_S390_VCPU_RESETS 179 |
| 1018 | 1018 | #define KVM_CAP_S390_PROTECTED 180 |
| 1019 | 1019 | #define KVM_CAP_PPC_SECURE_GUEST 181 |
| 1020 | +#define KVM_CAP_HALT_POLL 182 | |
| 1020 | 1021 | |
| 1021 | 1022 | #ifdef KVM_CAP_IRQ_ROUTING |
| 1022 | 1023 | |