cpu-exec: remove outermost infinite loop
commit4515e58d60dc3aac53dbd5e53e4c3bec126967d8
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 29 Jan 2017 09:55:14 +0000 (29 10:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Feb 2017 13:06:56 +0000 (16 14:06 +0100)
treecb27adae8efdcc514aa45fd0832bb56f8135c5fa
parenta42cf3f3f266a97ceb13e8b99bc7b13f7bf4192a
cpu-exec: remove outermost infinite loop

Reorganize the sigsetjmp so that the restart case falls through
to cpu_handle_exception and the execution loop.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c