Commit 0352e85fe5 for qemu.org
commit 0352e85fe5d9233f1a3099eab207b54078a16cb9
Author: Gavin Shan <gshan@redhat.com>
Date: Tue Dec 2 00:18:01 2025 +1000
target/arm/kvm: Exit on error from acpi_ghes_memory_errors()
A core dump is no sense as there isn't programming bugs related to
errors from acpi_ghes_memory_errors().
Exit instead of abort when the function returns errors, and the
excessive error message is also dropped.
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20251201141803.2386129-4-gshan@redhat.com>
diff --git a/target/arm/kvm.c b/target/arm/kvm.c
index 0828e8b87b..b83f1d5e4f 100644
--- a/target/arm/kvm.c
+++ b/target/arm/kvm.c
@@ -2477,8 +2477,7 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)
paddr)) {
kvm_inject_arm_sea(c);
} else {
- error_report("failed to record the error");
- abort();
+ exit(1);
}
}
return;