]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: reserve capability 210 for KVM_CAP_PPC_AIL_MODE_3
authorNicholas Piggin <npiggin@gmail.com>
Tue, 22 Feb 2022 14:06:54 +0000 (09:06 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Feb 2022 14:06:54 +0000 (09:06 -0500)
commit4aaec5c32bb47b15fe194a989549f030be60500b
treed03be12abb4716efe6900a9b0114c59037982657
parent2eb4d7b8012621724f8fdd0c0f2f43a0074625ab
KVM: PPC: reserve capability 210 for KVM_CAP_PPC_AIL_MODE_3

Add KVM_CAP_PPC_AIL_MODE_3 to advertise the capability to set the AIL
resource mode to 3 with the H_SET_MODE hypercall. This capability
differs between processor types and KVM types (PR, HV, Nested HV), and
affects guest-visible behaviour.

QEMU will implement a cap-ail-mode-3 to control this behaviour[1], and
use the KVM CAP if available to determine KVM support[2].

Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.rst
include/uapi/linux/kvm.h
tools/include/uapi/linux/kvm.h