• Avi Kivity's avatar
    KVM: Don't spin on virt instruction faults during reboot · b7c4145b
    Avi Kivity authored
    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>
    b7c4145b
kvm_main.c 55.5 KB