projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f102f22
)
kvm: do not abort if KVM_RUN fails
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 29 Aug 2014 13:58:20 +0000
(15:58 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 9 Sep 2014 11:13:05 +0000
(13:13 +0200)
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>
kvm-all.c
patch
|
blob
|
history
diff --git
a/kvm-all.c
b/kvm-all.c
index
b240bf8
..
f5edcb1
100644
(file)
--- 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);