How to change number of cpu cores in VirtualBox virtual machine?

2

I have changed number of cpu cores with following command:

VBoxManage modifyvm "Ubuntu_16_04" --cpus 4

When I check with

vboxmanage showvminfo Ubuntu_16_04 --details

I get:

Number of CPUs:  4

But when I login onto guest machine:

cat /proc/cpuinfo

Result is:

cpu cores   : 1

Host and guest machines are ubuntu server 16.04. What could be a problem? Thank you

iWizard

Posted 2017-04-12T16:41:21.933

Reputation: 143

Did you reboot the VM after changing the setting? – Tero Kilkanen – 2017-04-12T17:11:26.967

@TeroKilkanen yes – iWizard – 2017-04-12T17:14:05.700

Did you ever solve this? – Mitchell van Zuylen – 2019-08-07T13:19:57.277

No answers