commit | 7e66f350cfc853043bfa71b281581dd6f92fa347 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Aug 15 15:23:34 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:23 2007 +0200 |
tree | bbf821c3fd4578cfacb07deaa59f18da5eaa4411 | |
parent | 3090dd7377c7eb5cbe229e2a538f9dc7e5b06814 [diff] |
KVM: Close minor race in signal handling We need to check for signals inside the critical section, otherwise a signal can be sent which we will not notice. Also move the check before entry, so that if the signal happens before the first entry, we exit immediately instead of waiting for something to happen to the guest. Signed-off-by: Avi Kivity <avi@qumranet.com>