Re: [RFC PATCH v5 024/104] KVM: TDX: create/destroy VM structure

From: Paolo Bonzini
Date: Fri Apr 15 2022 - 09:47:58 EST


On 4/8/22 02:51, Isaku Yamahata wrote:
Please rename the function to explain what it does, for example
tdx_mmu_release_hkid.
In the patch 021/104, you suggested flush_shadow_all_private().
Which do you prefer? flush_shadow_all_private or tdx_mmu_release_hkid.

vt_mmu_prezap should become vt_flush_shadow_all_private.

tdx_mmu_prezap should be come tdx_mmu_release_hkid.

Paolo