Xiao Guangrong wrote:
> 
> Actually, the origin code has a bug, the code segment in mmu_parent_walk():
> 
> |     if (!sp->multimapped && sp->parent_pte) {
> |             ......
> |             return;
> |     }
> |     hlist_for_each_entry(pte_chain, node, &sp->parent_ptes, link)
> |             for (i = 0; i < NR_PTE_CHAIN_ENTRIES; ++i) {
> |                     ......
> |             }
> 
> So, if sp->parent_pte == NULL, it's unsafe...

Marcelo, please ignore this, it not a bug, just my mistake, sorry...
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to