change cpu cores won't affect till restart (special case)

hamed

Member
Sep 6, 2010
36
0
6
Hi,
I've created 2 KVM VMs.
VM A is created with 1 cores and VM B is created with 2 cores. (both with same hard size)
After installing windows 2003 enterprise on VM A and shutting it down, I replace B.raw with A.raw. (So VM B will have windows installed).
Now I start VM B and find windows dislpaying 1 core. After rebooting VM B, it shows 2 cores.
The same happens with CentOS and Ubuntu.

My question is that why in the first startup, the OS doesn't detect the correct cpu core number?

I appreciate your answer,
Thanks
 
Hi,
I've created 2 KVM VMs.
VM A is created with 1 cores and VM B is created with 2 cores. (both with same hard size)
After installing windows 2003 enterprise on VM A and shutting it down, I replace B.raw with A.raw. (So VM B will have windows installed).
Now I start VM B and find windows dislpaying 1 core. After rebooting VM B, it shows 2 cores.
The same happens with CentOS and Ubuntu.

My question is that why in the first startup, the OS doesn't detect the correct cpu core number?

I appreciate your answer,
Thanks
Hi,
AFAIK windows needs a little bit time after boot to reconice the changed hardware and "install" the second core. In you wait a minute, windows shows two cores.
But linux should shows the cores directly during the booting...

Udo