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 <[email protected]> Suggested-by: Markus Armbruster <[email protected]> Signed-off-by: Gavin Shan <[email protected]> --- target/arm/kvm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/arm/kvm.c b/target/arm/kvm.c index 0d57081e69..acda0b3fb4 100644 --- a/target/arm/kvm.c +++ b/target/arm/kvm.c @@ -2460,8 +2460,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; -- 2.51.1
