Re: [PATCH V4 3/4] KVM: x86: Add a capability to configure bus frequency for APIC timer

From: Xiaoyao Li
Date: Tue Apr 16 2024 - 23:37:54 EST


On 3/22/2024 12:37 AM, Reinette Chatre wrote:

..

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 0b5a33ee71ee..20080fe4b8ee 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -8063,6 +8063,23 @@ error/annotated fault.
See KVM_EXIT_MEMORY_FAULT for more information.
+7.35 KVM_CAP_X86_APIC_BUS_FREQUENCY

As sean mentioned it previous comment, I would be the one prefers KVM_CAP_X86_APIC_BUS_CYCLES_NS

Depending on whether people get hung up on nanoseconds not being a
"frequency", either KVM_CAP_X86_APIC_BUS_FREQUENCY or
KVM_CAP_X86_APIC_BUS_CYCLES_NS.