Skip to content
  • Jim Mattson's avatar
    kvm: vmx: Handle VMLAUNCH/VMRESUME failure properly · b060ca3b
    Jim Mattson authored
    
    
    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: default avatarJim Mattson <jmattson@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    b060ca3b