]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SVM: enable GMET and set it in MMU role
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2026 15:42:15 +0000 (11:42 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 10 May 2026 12:55:08 +0000 (14:55 +0200)
commitfe080f58dec24049b4e5ecfaab28ba0881c67abe
tree569636f84a6a144dba5d94714a953b189c97c085
parent3129c6b81cabf18f597497213e3130a948fc1bb9
KVM: SVM: enable GMET and set it in MMU role

Set the GMET bit in the nested control field.  This has effectively
no impact as long as NPT page tables are changed to have U=0.

Tested-by: David Riley <d.riley@proxmox.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h