Revert to snapshot causes virtual machine to be suspended

host cpu is incompatible with the virtual machine’s requirements at cpuid level 0x1

Details

If you take a snapshot of the virtual machine and then VMotion or cold-migrate the virtual machine to another host that uses a different CPU model and/or family, you may experience the following symptoms:

The virtual machine becomes stuck in a suspended state after performing a Revert to Snapshot operation

If you try to remove the virtual machine from its suspended state, you see the error:
Error: error encounter trying to restore cpu state from file.

Solution

This issue may occur if the CPU information as recorded in the virtual machine configuration file (.vmx) after the Revert to Snapshot operation does not match the current CPU information. If this occurs, the server does not un-suspend the virtual machine.

To resolve this issue, you must remove the checkpoint.* lines from the .vmxfile. Removing these lines allows you to power on the virtual machine.

To remove the checkpoint.* lines:

Ensure that the virtual machine is not running another process.

Unregister the virtual machine.

Open the .vmx file in a text editor.

Remove the checkpoint.* lines from the file.

Save and close the file.

Re-register the virtual machine.

The virtual machine is in a powered off state. You can now power it on.