From: Paolo Bonzini Date: Fri, 29 Aug 2014 13:58:20 +0000 (+0200) Subject: kvm: do not abort if KVM_RUN fails X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~597^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a85e130e015a673a824d68b94175e5985063a917;p=sdk%2Femulator%2Fqemu.git kvm: do not abort if KVM_RUN fails Just go to the internal error runstate. This lets you use the "x", "dump-guest-memory" or "info register" commands. Reviewed-by: Christian Borntraeger Signed-off-by: Paolo Bonzini --- diff --git a/kvm-all.c b/kvm-all.c index b240bf8..f5edcb1 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1738,7 +1738,8 @@ int kvm_cpu_exec(CPUState *cpu) } fprintf(stderr, "error: kvm run failed %s\n", strerror(-run_ret)); - abort(); + ret = -1; + break; } trace_kvm_run_exit(cpu->cpu_index, run->exit_reason);