Skip to content
Commit b7c4145b authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@redhat.com>
parent 4cc70310
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment