By using CPU affinity, you can assign a virtual machine to a specific processor. This way, you can assign a virtual machine only to a particular available processor in multiprocessor systems.

Before you begin

Power off the virtual machine.

Procedure

  1. Right-click the virtual machine in the VMware Host Client inventory and select Edit settings.
  2. Under Virtual Hardware, expand CPU.
  3. Under Scheduling Affinity, select physical processor affinity for the virtual machine.

    Use a hyphen to indicate ranges and a comma to separate values.

    For example, 0, 2, 4-7 would indicate processors 0, 2, 4, 5, 6, and 7.

  4. Click Save to apply your changes.