Hi,
Logical cores = Sockets * core
If you use HT then: Logical cores *2 (that's not absolutely true)
So, which settings are you applying to the VM?
1 Socket and 2 Cores or 1 Core and 2 sockets?
And then, you only can use logical cores in a VM, so there is no option to use the "real cores" unless you disable HT.