Skip to content

Commit b7ffe60

Browse files
author
Maxim Levitsky
committed
Documentation: KVM: KVM_GET_SUPPORTED_CPUID now exposes TSC_DEADLINE
JIRA: https://issues.redhat.com/browse/RHEL-82917 commit f3e555b Author: Paolo Bonzini <pbonzini@redhat.com> Date: Mon Mar 31 17:05:50 2025 +0200 Documentation: KVM: KVM_GET_SUPPORTED_CPUID now exposes TSC_DEADLINE TSC_DEADLINE is now advertised unconditionally by KVM_GET_SUPPORTED_CPUID, since commit 9be4ec3 ("KVM: x86: Advertise TSC_DEADLINE_TIMER in KVM_GET_SUPPORTED_CPUID", 2024-12-18). Adjust the documentation to reflect the new behavior. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Message-ID: <20250331150550.510320-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
1 parent bca5dcd commit b7ffe60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/virt/kvm/api.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9055,9 +9055,10 @@ the local APIC.
90559055

90569056
The same is true for the ``KVM_FEATURE_PV_UNHALT`` paravirtualized feature.
90579057

9058-
CPU[EAX=1]:ECX[24] (TSC_DEADLINE) is not reported by ``KVM_GET_SUPPORTED_CPUID``.
9059-
It can be enabled if ``KVM_CAP_TSC_DEADLINE_TIMER`` is present and the kernel
9060-
has enabled in-kernel emulation of the local APIC.
9058+
On older versions of Linux, CPU[EAX=1]:ECX[24] (TSC_DEADLINE) is not reported by
9059+
``KVM_GET_SUPPORTED_CPUID``, but it can be enabled if ``KVM_CAP_TSC_DEADLINE_TIMER``
9060+
is present and the kernel has enabled in-kernel emulation of the local APIC.
9061+
On newer versions, ``KVM_GET_SUPPORTED_CPUID`` does report the bit as available.
90619062

90629063
CPU topology
90639064
~~~~~~~~~~~~

0 commit comments

Comments
 (0)