commit | b7c4145ba2eb0717db0ddac1b5f7f48012189c53 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Dec 02 17:52:50 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:30:18 2011 +0200 |
tree | 9b259970f56451ecb0f5d84ecd81d67386f63224 | |
parent | 4cc703100b1fd97c71804e2fa5c9c377c5b37dc5 [diff] |
KVM: Don't spin on virt instruction faults during reboot Since vmx blocks INIT signals, we disable virtualization extensions during reboot. This leads to virtualization instructions faulting; we trap these faults and spin while the reboot continues. Unfortunately spinning on a non-preemptible kernel may block a task that reboot depends on; this causes the reboot to hang. Fix by skipping over the instruction and hoping for the best. Signed-off-by: Avi Kivity <avi@redhat.com>