• J
    kvm: vmx: Handle VMLAUNCH/VMRESUME failure properly · b060ca3b
    Jim Mattson 提交于
    On an early VMLAUNCH/VMRESUME failure (i.e. one which sets the
    VM-instruction error field of the current VMCS), the launch state of
    the current VMCS is not set to "launched," and the VM-exit information
    fields of the current VMCS (including IDT-vectoring information and
    exit reason) are stale.
    
    On a late VMLAUNCH/VMRESUME failure (i.e. one which sets the high bit
    of the exit reason field), the launch state of the current VMCS is not
    set to "launched," and only two of the VM-exit information fields of
    the current VMCS are modified (exit reason and exit
    qualification). The remaining VM-exit information fields of the
    current VMCS (including IDT-vectoring information, in particular) are
    stale.
    Signed-off-by: NJim Mattson <jmattson@google.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    b060ca3b
vmx.c 342.4 KB