[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 29/60] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL
From: |
Edgecombe, Rick P |
Subject: |
Re: [PATCH v6 29/60] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL |
Date: |
Tue, 5 Nov 2024 20:55:59 +0000 |
User-agent: |
Evolution 3.44.4-0ubuntu2 |
+Binbin
On Tue, 2024-11-05 at 01:23 -0500, Xiaoyao Li wrote:
> TD guest can use TDG.VP.VMCALL<REPORT_FATAL_ERROR> 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 <xiaoyao.li@intel.com>
> ---
Binbin was looking at re-arranging the TDX dev branch to try to move these
patches earlier in the series so we could get them finalized for the purpose of
fully settling the uAPI for QEMU.
I wonder if we should just post a very small series with the KVM implementations
for MapGPA and ReportFatalError and we could try to get some stability
established. Maybe that would be enough?
Paolo, any thoughts on the merits of trying to get to that part earlier?
- [PATCH v6 19/60] i386/tdx: Parse TDVF metadata for TDX VM, (continued)
- [PATCH v6 19/60] i386/tdx: Parse TDVF metadata for TDX VM, Xiaoyao Li, 2024/11/05
- [PATCH v6 20/60] i386/tdx: Don't initialize pc.rom for TDX VMs, Xiaoyao Li, 2024/11/05
- [PATCH v6 21/60] i386/tdx: Track mem_ptr for each firmware entry of TDVF, Xiaoyao Li, 2024/11/05
- [PATCH v6 23/60] headers: Add definitions from UEFI spec for volumes, resources, etc..., Xiaoyao Li, 2024/11/05
- [PATCH v6 25/60] i386/tdx: Add TDVF memory via KVM_TDX_INIT_MEM_REGION, Xiaoyao Li, 2024/11/05
- [PATCH v6 22/60] i386/tdx: Track RAM entries for TDX VM, Xiaoyao Li, 2024/11/05
- [PATCH v6 26/60] i386/tdx: Call KVM_TDX_INIT_VCPU to initialize TDX vcpu, Xiaoyao Li, 2024/11/05
- [PATCH v6 27/60] i386/tdx: Finalize TDX VM, Xiaoyao Li, 2024/11/05
- [PATCH v6 29/60] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL, Xiaoyao Li, 2024/11/05
- Re: [PATCH v6 29/60] i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL,
Edgecombe, Rick P <=
- [PATCH v6 24/60] i386/tdx: Setup the TD HOB list, Xiaoyao Li, 2024/11/05
- [PATCH v6 28/60] i386/tdx: Enable user exit on KVM_HC_MAP_GPA_RANGE, Xiaoyao Li, 2024/11/05
- [PATCH v6 30/60] i386/tdx: Wire TDX_REPORT_FATAL_ERROR with GuestPanic facility, Xiaoyao Li, 2024/11/05
- [PATCH v6 33/60] i386/cpu: introduce x86_confidenetial_guest_cpu_realizefn(), Xiaoyao Li, 2024/11/05
- [PATCH v6 31/60] i386/cpu: introduce x86_confidential_guest_cpu_instance_init(), Xiaoyao Li, 2024/11/05
- [PATCH v6 32/60] i386/tdx: implement tdx_cpu_instance_init(), Xiaoyao Li, 2024/11/05
- [PATCH v6 38/60] i386/tdx: Disable SMM for TDX VMs, Xiaoyao Li, 2024/11/05