ESXi 9.1.1 Host PSOD During Encrypted vMotion with Intel QAT Hardware Offload
search cancel

ESXi 9.1.1 Host PSOD During Encrypted vMotion with Intel QAT Hardware Offload

book

Article ID: 462438

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • When performing back-to-back encrypted vMotions using Intel QAT offload, the host may experience a PSOD.

  • VMkernel might encounter a panic that results in a purple diagnostics screen with below 

    #PF Exception 14 in world ####:votionSendH IP ##### addr #####
    Module(s) involved in panic: [migrate vmotion protocol: #.# vmk interface: #.#

  • The PSOD stack contains

    BackMap2M_Get (mpn=<optimized out>, worldID=#####, lbpn=#####, numBackedByLPage=#####) at bora/vmkernel/mem/backmap.c:####
    PFrame_ClearBackedByLPage
    AllocBreakLargeGuestPageInt
    Alloc_BreakLargeGuestPageWithUpdate 
    VmMemMigrate_AddRemotePage
    VMotionSendMarkRemotePage 
    VMotionSendGetChangeMapHandleReply
    VMotionSend_AsyncWaitAndCleanup
    VMotionSend_RestorePhaseBegin
    VMotionQueue_Process
    VMotionSend_Helper
    CpuSched_StartWorld
    Debug_IsInitialized ()

Environment

VMware vSphere Esx 9.1.1

Cause

This issue occurs on a destination host during an incoming encrypted vMotion migration that utilizes hardware acceleration (QAT) on the default migration heap.
Failing to perform a TLB flush on the QAT buffers, triggers a QAT KAPI: SYM operation error, resulting in a PSOD.

Resolution

This issue is fixed in ESX 9.1.2

Refer to Release notes

Workaround:

Disable the hardware crypto offload to force the use of software encryption. While this allows vMotion to remain encrypted, it increases CPU utilization and may extend vMotion duration.

To disable the offload feature:

  1. Log in to the vSphere Client.

  2. Navigate to the host in the inventory.

  3. Select Configure > System > Advanced System Settings.

  4. Click Edit.

  5. Search for the key: Migrate.VMotionEncryptionOffload.

  6. Set the value to 0.

  7. Click OK.

  8. Repeat this process for every host in the cluster.