6.0

Table Of Contents
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Resources tab and select Advanced CPU.
3 In the Scheduling Affinity panel, enter a comma-separated list of hyphenated processor ranges.
For example, "0,4-7" would indicate affinity with CPUs 0,4,5,6, and 7. Selecting all processors is identical
to selecting no affinity. You must provide at least as many processor affinities as you have virtual
CPUs.
4 Click OK to save your changes.
Change CPU Identification Mask Settings in the vSphere Client
CPU identification (CPU ID) masks control the CPU features visible to the virtual machine's guest operating
system. Masking or hiding CPU features can make a virtual machine widely available to ESXi hosts for
migration. vCenter Server compares the CPU features available to a virtual machine with the CPU features
of the destination host to determine whether to allow or disallow migration with vMotion.
For example, masking the AMD No eXecute (NX) and the Intel eXecute Disable (XD) bits prevents the
virtual machine from using these features, but provides compatibility that allows you to migrate virtual
machines to ESXi hosts that do not include this capability. When the NX/XD bit is visible to the guest
operating system, the virtual machine can use this feature, but you can migrate the virtual machine only to
hosts on which the feature is enabled.
NOTE You rarely need to change the CPU identification mask configuration settings. Almost all changes are
made only to the NX/XD bit.
See the vCenter Server and Host Management documentation for detailed information about vMotion
compatibility and CPU masks.
Prerequisites
n
Verify that you have access to the virtual machine in the vSphere Client inventory list.
n
Power off the virtual machine.
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Options tab and under Advanced, select CPUID Mask.
3 In the CPU Identification Mask panel, select an NX flag option.
Option Description
Hide the NX/XD flag from guest
Increases vMotion compatibility.
Hiding the NX/XD flag increases vMotion compatibility between hosts, but
might disable certain CPU security features.
Expose the NX/XD flag to guest
Keeps all CPU security features enabled.
Keep current Advanced setting
values for the NX/XD flag
Uses the NX/XD flag settings specified in the CPU Identification Mask
dialog box. Enabled only when current settings specify something other
than what is specified in the other NX/XD flag options, for example, if the
NX/XD flag bit setting varies with processor brand.
vSphere Administration with the vSphere Client
148 VMware, Inc.