Re: [PATCH 24/28] KVM: x86/mmu: hard code more bits in kvm_init_shadow_npt_mmu

From: Sean Christopherson

Date: Thu Apr 30 2026 - 15:09:39 EST


On Thu, Apr 30, 2026, Paolo Bonzini wrote:
> Likewise, clear X86_CR4_SMAP to avoid that KVM erroneously faults on
> supervisor accesses to an U=1 page.

What, don't you want to more closely follow real hardware? :-D