On 19/05/21 21:56, Pavel Machek wrote:
Hi!
From: Sean Christopherson <seanjc@xxxxxxxxxx>
commit c5e2184d1544f9e56140791eff1a351bea2e63b9 upstream.
Remove the update_pte() shadow paging logic, which was obsoleted by
commit 4731d4c7a077 ("KVM: MMU: out of sync shadow core"), but never
removed. As pointed out by Yu, KVM never write protects leaf page
First, this is cleanup, not a bugfix.
It was reported to also fix a bug. Commit 4731d4c7a077 is 2008 vintage,
so it is certainly in 5.10.
Paolo
Second, AFAICT 4731d4c7a077 ("KVM: MMU: out of sync shadow core") is
not in 5.10, so this will break stuff according to the changelog.