diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-05-08 10:59:34 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-28 19:35:54 +0200 |
commit | 98dbfd6849f117de02ac6f513f2a1f95563e60ae (patch) | |
tree | b5b88e026fe5217f060a66cf1b2453669abbfdcd /hw/avr/arduino.c | |
parent | 1ff5048d74e661943260c33e864c4118acb37ab4 (diff) | |
download | qemu-98dbfd6849f117de02ac6f513f2a1f95563e60ae.zip qemu-98dbfd6849f117de02ac6f513f2a1f95563e60ae.tar.gz qemu-98dbfd6849f117de02ac6f513f2a1f95563e60ae.tar.bz2 |
i386/tdx: Handle KVM_SYSTEM_EVENT_TDX_FATAL
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>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250508150002.689633-29-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions