• A
    KVM: Don't spin on virt instruction faults during reboot · b7c4145b
    Avi Kivity 提交于
    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: NAvi Kivity <avi@redhat.com>
    b7c4145b
kvm_main.c 55.5 KB