On 03/06/2025 00:48, Sean Christopherson wrote:
Exempt nested EPT shadow pages tables from the CR0.WP=0 handling of supervisor writes, as EPT doesn't have a U/S bit and isn't affected by CR0.WP (or CR4.SMEP in the exception to the exception). Opportunistically refresh the comment to explain what KVM is doing, as the only record of why KVM shoves in WRITE and drops USER is buried in years-old changelogs. Cc: Jon Kohler <jon@xxxxxxxxxxx> Cc: Sergey Dyasli <sergey.dyasli@xxxxxxxxxxx> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Thank you for the patch, LGTM. Reviewed-by: Sergey Dyasli <sergey.dyasli@xxxxxxxxxxx> Sergey