Re: [PATCH 05/54] Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"

From: Paolo Bonzini
Date: Fri Jun 25 2021 - 04:57:59 EST


On 25/06/21 10:47, Yu Zhang wrote:
But if L1 is crafty, it can load a new CR4 on VM-Exit and toggle LA57
without having to bounce through an unpaged section. L1 can also load a

May I ask how this is done by the guest? Thanks!

It can set HOST_CR3 and HOST_CR4 to a value that is different from the one on vmentry.

Paolo