Hotplug of a device in a virtual machine fails with a CPU or memory admission check error
search cancel

Hotplug of a device in a virtual machine fails with a CPU or memory admission check error

book

Article ID: 311618

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • You cannot hotplug a device to a virtual machine.
  • Hot add of a device to a virtual machine fails with a CPU or memory admission check error.
  • You see one of these errors:
    • cannot admit VM: Memory admission check failed.
    • Can't admit VM: CPU admission check failed.


Environment

VMware ESX 4.1.x
VMware vSphere ESXi 5.1
VMware ESXi 4.0.x Installable
VMware ESXi 4.0.x Embedded
VMware ESX 4.0.x
VMware vSphere ESXi 5.0
VMware ESXi 4.1.x Embedded
VMware ESXi 4.1.x Installable

Cause

Hotplug operation involves Fast Suspend & Resume (FSR) of the virtual machine. A shadow copy of the virtual machine is created for a very brief period of time during FSR. This shadow virtual machine requires the same memory and CPU resources as the original virtual machine. If the original virtual machine has CPU and/or memory reservations, the same reservations apply to the shadow virtual machine also. If the ESXi host does not have sufficient resources to accommodate the shadow virtual machine, the hotplug operation fails with CPU and/or memory admission check errors.

Resolution

To resolve this issue, use one of these options:
  • Ensure that there are sufficient free CPU and memory resources available on the host by increasing the resource allocation for the resource pool. For more information, see the vSphere Resource Management guide.

    Alternatively, free up some of the resources by moving some virtual machines to different hosts.

  • Move the virtual machine to a host with sufficient available resources and then retry the hotplug operation.
  • Add the devices when the virtual machine is in a powered off state. When the virtual machine is powered off, there is no FSR and, therefore, additional CPU/memory resources are not required.


Additional Information

仮想マシンのデバイスのホットプラグが CPU またはメモリの admission check エラーで失敗する