diff options
author | 2022-11-16 16:16:57 -0800 | |
---|---|---|
committer | 2022-11-17 10:50:07 -0500 | |
commit | 9eb8ca049c23afb0410f4a7b9a7158f1a0a3ad0e (patch) | |
tree | aa2d8ee462a190d7528f9ed2538b2a66a895cb89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: Avoid re-reading kvm->max_halt_poll_ns during halt-polling (diff) | |
download | wireguard-linux-9eb8ca049c23afb0410f4a7b9a7158f1a0a3ad0e.tar.xz wireguard-linux-9eb8ca049c23afb0410f4a7b9a7158f1a0a3ad0e.zip |
KVM: Obey kvm.halt_poll_ns in VMs not using KVM_CAP_HALT_POLL
Obey kvm.halt_poll_ns in VMs not using KVM_CAP_HALT_POLL on every halt,
rather than just sampling the module parameter when the VM is first
created. This restore the original behavior of kvm.halt_poll_ns for VMs
that have not opted into KVM_CAP_HALT_POLL.
Notably, this change restores the ability for admins to disable or
change the maximum halt-polling time system wide for VMs not using
KVM_CAP_HALT_POLL.
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Fixes: acd05785e48c ("kvm: add capability for halt polling")
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20221117001657.1067231-4-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions