On Thu, Jan 05, 2023, Lai Jiangshan wrote: > From: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx> > > Rename mmu->sync_page to mmu->sync_spte and move the code out > of FNAME(sync_page)'s loop body into mmu.c. > > Also initialize mmu->sync_spte as NULL for direct paging. Please split this up, we got burned before by making one of the mmu hooks NULL, I don't want a repeat of that. I.e. nullify the direct hook only when it's very clear it can't be dereferenced.