On Tue, Apr 01, 2025 at 09:01:39AM -0400, Xiaoyao Li wrote: > Date: Tue, 1 Apr 2025 09:01:39 -0400 > From: Xiaoyao Li <xiaoyao...@intel.com> > Subject: [PATCH v8 29/55] i386/tdx: Wire TDX_REPORT_FATAL_ERROR with > GuestPanic facility > X-Mailer: git-send-email 2.34.1 > > Integrate TDX's TDX_REPORT_FATAL_ERROR into QEMU GuestPanic facility > > Originated-from: Isaku Yamahata <isaku.yamah...@intel.com> > Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com> > Acked-by: Markus Armbruster <arm...@redhat.com> > --- > Changes in v8: > - use g_strdup() for copy string; > - use the new data ABI of KVM_SYSTEM_EVENT_TDX_FATAL to grab gpa info; > > Changes in v6: > - change error_code of GuestPanicInformationTdx from uint64_t to > uint32_t, to only contains the bit 31:0 returned in r12. > > Changes in v5: > - mention additional error information in gpa when it presents; > - refine the documentation; (Markus) > > Changes in v4: > - refine the documentation; (Markus) > > Changes in v3: > - Add docmentation of new type and struct; (Daniel) > - refine the error message handling; (Daniel) > --- > qapi/run-state.json | 31 +++++++++++++++++++-- > system/runstate.c | 65 +++++++++++++++++++++++++++++++++++++++++++ > target/i386/kvm/tdx.c | 24 +++++++++++++++- > 3 files changed, 117 insertions(+), 3 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>