History

kvm: add capability for halt polling

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.

David Matlack committed 6 years ago

Commit acd05781 parent 87796554 files · +34 −4Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -1017,6 +1017,7 @@ struct kvm_ppc_resize_hpt { · 1016 unmodified lines
10171017 #define KVM_CAP_S390_VCPU_RESETS 179
10181018 #define KVM_CAP_S390_PROTECTED 180
10191019 #define KVM_CAP_PPC_SECURE_GUEST 181
1020+#define KVM_CAP_HALT_POLL 182
10201021
10211022 #ifdef KVM_CAP_IRQ_ROUTING
10221023

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t