mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
f102f22455
commit
a85e130e01
1 changed files with 2 additions and 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue