You can use the VirtualMachineConfigSpec.cpuFeatureMask[].info property to represent the CPU features requirements for a virtual machine or guest operating system. See the HostCpuIdInfo data object discussion in the API Reference for a detailed discussion.