linux/Documentation/virt/kvm
David Dunn ba7bb663f5 KVM: x86: Provide per VM capability for disabling PMU virtualization
Add a new capability, KVM_CAP_PMU_CAPABILITY, that takes a bitmask of
settings/features to allow userspace to configure PMU virtualization on
a per-VM basis.  For now, support a single flag, KVM_PMU_CAP_DISABLE,
to allow disabling PMU virtualization for a VM even when KVM is configured
with enable_pmu=true a module level.

To keep KVM simple, disallow changing VM's PMU configuration after vCPUs
have been created.

Signed-off-by: David Dunn <daviddunn@google.com>
Message-Id: <20220223225743.2703915-2-daviddunn@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-02-25 08:20:14 -05:00
..
arm KVM: arm64: Fix Function ID typo for PTP_KVM service 2021-04-20 17:19:08 +01:00
devices selftests: KVM: Introduce system counter offset test 2021-10-18 14:43:46 -04:00
amd-memory-encryption.rst crypto: ccp - Add SEV_INIT_EX support 2021-12-17 16:59:47 +11:00
api.rst KVM: x86: Provide per VM capability for disabling PMU virtualization 2022-02-25 08:20:14 -05:00
cpuid.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
halt-polling.rst docs: virt: convert halt-polling.txt to ReST format 2020-02-12 20:09:50 +01:00
hypercalls.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
index.rst docs/virt/kvm: Document configuring and running nested guests 2020-05-06 05:45:47 -04:00
locking.rst Merge branch 'kvm-tdpmmu-fixes' into HEAD 2021-08-13 03:35:01 -04:00
mmu.rst KVM: X86: Rename gpte_is_8_bytes to has_4_byte_gpte and invert the direction 2021-12-08 04:25:13 -05:00
msr.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
nested-vmx.rst KVM: Documentation: Fix documentation for nested. 2021-01-28 13:03:14 -05:00
ppc-pv.rst docs: kvm: Convert ppc-pv.txt to ReST format 2020-02-12 20:10:05 +01:00
review-checklist.rst docs: fix broken references for ReST files that moved around 2020-04-20 15:45:03 -06:00
running-nested-guests.rst KVM: Documentation: Fix documentation for nested. 2021-01-28 13:03:14 -05:00
s390-diag.rst KVM: s390: diag9c (directed yield) forwarding 2021-03-09 10:16:26 +01:00
s390-pv-boot.rst docs: virt: kvm: s390-pv-boot.rst: avoid using ReST :doc:foo markup 2021-06-17 13:24:39 -06:00
s390-pv.rst Documentation: virt: kvm/s390-pv: drop doubled words 2020-07-05 14:42:17 -06:00
timekeeping.rst docs: kvm: Convert timekeeping.txt to ReST format 2020-02-12 20:10:06 +01:00
vcpu-requests.rst This was a reasonably active cycle for documentation; this pull includes: 2021-06-28 16:53:05 -07:00