diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-29 15:58:20 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-09 13:13:05 +0200 |
commit | a85e130e015a673a824d68b94175e5985063a917 (patch) | |
tree | a641ba458ce95d25199a1c4ff25b113d7e118dfd /kvm-all.c | |
parent | f102f224556f292f55b6e25147741bb8c48c9451 (diff) |
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 <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |