On 14/09/21 11:12, Maxim Levitsky wrote:
But actually that you mention it, I'll say why not to create vmcb_control_area_cached as well indeed and change the type of svm->nested.save to it. (in a separate patch)
I think you should have two structs, struct vmcb12_control_area_cache and struct vmcb12_save_area_cache. Otherwise the two series that Emanuele posted are nice and can be combined into just one.
Paolo