Re: [PATCH v4 9/9] KVM: VMX: Consolidate the exit handler for VMX and TDX

From: Nikolay Borisov

Date: Wed Aug 26 2026 - 06:02:05 EST




On 8/19/26 12:49, Xiaoyao Li wrote:
The exit handlers for VMX and TDX have the similar pattern. Consolidate
them into a single vt_handle_exit() helper.

Signed-off-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
Changes in v4:
- new patch.

I created essentially the the same code locally after I read the previous patch as the code duplication was killing!

Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>