diff options
| author | Paolo Bonzini | 2017-01-27 11:01:00 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2017-02-16 14:06:56 +0100 |
| commit | a42cf3f3f266a97ceb13e8b99bc7b13f7bf4192a (patch) | |
| tree | 28ff64df85bda59547f2621d409b9c3bc4f115ce /linux-headers/linux | |
| parent | cpu-exec: avoid cpu_loop_exit in cpu_handle_interrupt (diff) | |
| download | qemu-a42cf3f3f266a97ceb13e8b99bc7b13f7bf4192a.tar.gz qemu-a42cf3f3f266a97ceb13e8b99bc7b13f7bf4192a.tar.xz qemu-a42cf3f3f266a97ceb13e8b99bc7b13f7bf4192a.zip | |
cpu-exec: avoid repeated sigsetjmp on interrupts
The sigsetjmp only needs to be prepared once for the whole execution
of cpu_exec. This patch takes care of the "== 0" side, using a
nested loop so that cpu_handle_interrupt goes straight back to
cpu_handle_exception without doing another sigsetjmp.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
