Il 25/09/2013 15:36, Gleb Natapov ha scritto: >> > I'm asking because I didn't find any other place that modifies function >> > pointers this way after kvm_mmu_reset_context. >> > > nested_ept_init_mmu_context() modify the pointer. Not after > kvm_mmu_reset_context() but it does not matter much. The canonical way > to do what I did here would be to create special mmu context to handle > shadow on shadow, bit the only difference between it and regular shadow > one would be this pointer, so it looked like overkill. Just changing the > pointer do the trick. Ok, I think it's possible to clean up the code a bit but I can do that on top of your patches. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html