[PATCH 0/2] KVM: VMX: Mark Intel PT virtualization as BROKEN

Sean Christopherson posted 2 patches 1 year, 3 months ago
arch/x86/kvm/vmx/vmx.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
[PATCH 0/2] KVM: VMX: Mark Intel PT virtualization as BROKEN
Posted by Sean Christopherson 1 year, 3 months ago
Hide Intel PT virtualization behind BROKEN, as it has multiple fatal
flaws, several which put the host at risk, and several of which are far
too invasive to backport to stable trees.

I included one of the easier fixes from Adrian to help show just how
broken PT virtualization is, e.g. to illustrate the apparent lack of usage.

Adrian Hunter (1):
  KVM: VMX: Allow toggling bits in MSR_IA32_RTIT_CTL when enable bit is
    cleared

Sean Christopherson (1):
  KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind
    CONFIG_BROKEN

 arch/x86/kvm/vmx/vmx.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)


base-commit: e466901b947d529f7b091a3b00b19d2bdee206ee
-- 
2.47.0.163.g1226f6d8fa-goog
Re: [PATCH 0/2] KVM: VMX: Mark Intel PT virtualization as BROKEN
Posted by Sean Christopherson 1 year, 1 month ago
On Fri, 01 Nov 2024 11:50:29 -0700, Sean Christopherson wrote:
> Hide Intel PT virtualization behind BROKEN, as it has multiple fatal
> flaws, several which put the host at risk, and several of which are far
> too invasive to backport to stable trees.
> 
> I included one of the easier fixes from Adrian to help show just how
> broken PT virtualization is, e.g. to illustrate the apparent lack of usage.
> 
> [...]

Applied patch 2 to kvm-x86 vmx (patch 1 already went in).

[1/2] KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
      (no commit info)
[2/2] KVM: VMX: Allow toggling bits in MSR_IA32_RTIT_CTL when enable bit is cleared
      https://github.com/kvm-x86/linux/commit/591ff4670c7b

--
https://github.com/kvm-x86/linux/tree/next