The number of cores per socket can only be changed for the virtual machine when powered off.
Cloud Director 10.x
Enabling CPU hot-add only allows increasing the vCPU count for a Powered-On VM.
Changing the "Cores per socket" value is not supported while the VM is operational. A VM power-off is required for hardware re-initialization.
Cores Per Socket can only be changed when the VM is Powered-Off.
Steps:
1) Power Off the VM:
2) Edit VM Configuration:
3) Power-On the VM: