Operating System
The guest operating system that you specify affects the supported devices and available number of virtual CPUs.
You specify the guest operating system by using the setGuestOS(GuestOS guestOS) method of the VMTypes.CreateSpec class. The GuestOS class defines the valid guest OS types that you can use to configure a virtual machine.