On 4/28/2025 11:00 PM, Zhao Liu wrote:
On Tue, Apr 01, 2025 at 09:01:38AM -0400, Xiaoyao Li wrote:
Date: Tue, 1 Apr 2025 09:01:38 -0400
From: Xiaoyao Li
Subject: [PATCH v8 28/55] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL
X-Mailer: git-send-email 2.34.1
TD guest can use TDG.VP.VMCALL to
On Tue, Apr 01, 2025 at 09:01:38AM -0400, Xiaoyao Li wrote:
> Date: Tue, 1 Apr 2025 09:01:38 -0400
> From: Xiaoyao Li
> Subject: [PATCH v8 28/55] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL
> X-Mailer: git-send-email 2.34.1
>
> TD guest can use TDG.VP.VMCALL to request
TD guest can use TDG.VP.VMCALL to request
termination. KVM translates such request into KVM_EXIT_SYSTEM_EVENT with
type of KVM_SYSTEM_EVENT_TDX_FATAL.
Add hanlder for such exit. Parse and print the error message, and
terminate the TD guest in the handler.
Signed-off-by: Xiaoyao Li
---
Changes in