aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorBinbin Wu <[email protected]>2025-02-22 01:42:23 +0000
committerPaolo Bonzini <[email protected]>2025-03-14 18:20:55 +0000
commit79462faa2b2aa89db029af5e61df11b5bb6ef4e3 (patch)
treec3c2bba9e15231c6bcfe52840b693c0dc574f574 /rust/helpers/workqueue.c
parentKVM: TDX: Handle TDG.VP.VMCALL<MapGPA> (diff)
downloadkernel-79462faa2b2aa89db029af5e61df11b5bb6ef4e3.tar.gz
kernel-79462faa2b2aa89db029af5e61df11b5bb6ef4e3.zip
KVM: TDX: Handle TDG.VP.VMCALL<ReportFatalError>
Convert TDG.VP.VMCALL<ReportFatalError> to KVM_EXIT_SYSTEM_EVENT with a new type KVM_SYSTEM_EVENT_TDX_FATAL and forward it to userspace for handling. TD guest can use TDG.VP.VMCALL<ReportFatalError> to report the fatal error it has experienced. This hypercall is special because TD guest is requesting a termination with the error information, KVM needs to forward the hypercall to userspace anyway, KVM doesn't do parsing or conversion, it just dumps the 16 general-purpose registers to userspace and let userspace decide what to do. Signed-off-by: Binbin Wu <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions