change while to if
commit6113d6d3169393c323ac4c82d756a850145a5e7a
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jan 2010 08:42:09 +0000 (15 09:42 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 19 Jan 2010 22:31:03 +0000 (19 16:31 -0600)
treefcd06b7027d32d435149b064ee62d511768d39b5
parent34dec6a5608e3a878966fb0c0369a0dbbf6e3d9b
change while to if

The while loop will be executed exactly 0 or 1 times, depending on
env->exit_request.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-exec.c