]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: convert SEV-ES termination requests to guest panic events
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jun 2024 13:54:09 +0000 (15:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Feb 2026 13:31:38 +0000 (14:31 +0100)
commit56d89db2cfd82c53439778fbf39294bf35194dba
tree61d6ed9bf7db1cfbd1c2f1243f11da59b14dbb26
parentcd5a79dc98e3087e7658e643bdbbb0baec77ac8a
target/i386: convert SEV-ES termination requests to guest panic events

This produces a good error message instead of:

KVM: unknown exit reason 24
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00a00f11
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000b004 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=1
ES =0000 00000000 0000ffff 00009300
CS =f000 00800000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Reported-by: Jin Liu <jinl@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
qapi/run-state.json
system/runstate.c
target/i386/cpu-system.c