diff options
author | David Matlack <dmatlack@google.com> | 2020-04-18 01:14:46 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-24 19:53:17 +0300 |
commit | acd05785e48c01edb2c4f4d014d28478b5f19fb5 (patch) | |
tree | c8a7003b579cbdc7c79d109ec563f84de7d07018 /include/asm-generic/irq_work.h | |
parent | 87796555d48ca1cc681515e065b824ecab9c4282 (diff) | |
download | linux-acd05785e48c01edb2c4f4d014d28478b5f19fb5.tar.xz |
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.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Jon Cargille <jcargill@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-Id: <20200417221446.108733-1-jcargill@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/asm-generic/irq_work.h')
0 files changed, 0 insertions, 0 deletions