KVM: Don't spin on virt instruction faults during reboot
authorAvi Kivity <avi@redhat.com>
Thu, 2 Dec 2010 15:52:50 +0000 (17:52 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:18 +0000 (11:30 +0200)
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>

No differences found