“客户机操作系统已禁用该 CPU”错误
search cancel

“客户机操作系统已禁用该 CPU”错误

book

Article ID: 342758

calendar_today

Updated On:

Products

VMware VMware Desktop Hypervisor VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article provides steps to collect troubleshooting information that must be provided to the guest operating system vendor to resolve this issue. You must contact the guest operating system vendor to resolve this issue.



Symptoms:

 
The virtual machine stops running and reports the error:

The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.
Note

: For additional errors and log entries, see the Additional Information section.
 
 



Cause

在 VMware 虚拟机中运行的客户机操作系统通过连续执行指令 CLI 和 HLT 故意停止虚拟 CPU 时可看到该错误消息。客户机操作系统中出现严重错误或故障时会出现此情况。

在下列情况下,会发生此错误:
  • Windows 虚拟机 - 客户机操作系统崩溃导致 (BSOD)。
  • Linux 虚拟机 - 内核不稳定也会导致产生那些消息。

Resolution

Note : For kernel panics, check if the guest is configured to capture a kernel dump core file. See the guest operating system vendor documentation for procedures on how to capture and analyze a core dump file.

Gather information from current interruptions :
  1. Identify the virtual machine and the outage time.
  2. Take a screenshot of the virtual machine console, noting the error message.
  3. .vmssSuspends the virtual machine and copies the suspend checkpoint ( ) and memory image ( ) from the virtual machine directory .vmem, if they exist. Shelve the files.
  4. Use vmss2corethe utility to convert checkpoint suspend files ( .vmssand .vmem) from virtual machines to core dump files. 
  5. Resume the virtual machine to a suspended state, then reset the virtual machine to start the GuestOS.
  6. Collect logs from the GuestOS kernel leading up to the outage. Contact the guest OS vendor for more information.
  7. Collect logs from the host that caused the outage.



Additional Information

您还会看到以下症状:

在虚拟机的日志文件中,您会看到类似以下内容的消息:

Vix: [nnnnnnnvmxCommands.c:nnnn]:VMAutomation_HandleCLIHLTEvent.Do nothing

"The CPU has been disabled by the guest operating system" error