[PATCH 0/2] KVM: TDX: Disable PMU virtualization for TDX VMs

FirstName LastName posted 2 patches 1 month, 2 weeks ago
There is a newer version of this series
arch/x86/kvm/vmx/tdx.c |  6 ++++++
arch/x86/kvm/x86.c     | 10 +++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
[PATCH 0/2] KVM: TDX: Disable PMU virtualization for TDX VMs
Posted by FirstName LastName 1 month, 2 weeks ago
From: Vishal Annapurve <vannapurve@google.com>

TDX module virtualizes PMU for TDX VMs [1]. KVM has limited role to play
in virtualizing PMU accesses and needs additional enlightenment to
support all toggles provided by TDX module.

This series disables PMU virtualization within KVM for TDX VMs, which is
a safe bet until the complete set of PMU controls are implemented within KVM.

[1] Section 15.2: https://cdrdv2.intel.com/v1/dl/getContent/733575

Vishal Annapurve (2):
  KVM: x86: Move the default arch state init before vm_init() call
  KVM: TDX: Disable pmu virtualization for TDX VMs

 arch/x86/kvm/vmx/tdx.c |  6 ++++++
 arch/x86/kvm/x86.c     | 10 +++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

-- 
2.54.0.545.g6539524ca2-goog