Hi Tal,

we use GetLogicalProcessorInformation() to determine the number of physical
cores, see here:

https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Runtime/r3/win/mp-win.cpp#L99

Kind regards,

Frank

On Saturday 28 December 2013 18:14:54 Tal Aloni wrote:
> Thanks Frank,
> I see 4 CPUs in the host Task Manager, which Windows API call do you
> suspect the issue lies with?
> 
> Tal
> 
> ----- Original Message -----
> From: "Frank Mehnert" <[email protected]>
> To: <[email protected]>
> Sent: Saturday, December 28, 2013 6:51 PM
> Subject: Re: [vbox-dev] Can't use more than one vCPU after
> upgradingtoVirtualBox 4.3.x
> 
> 
> Hi Tal,
> 
> as I thought: You have a newer AMD processor and Windows returns the
> wrong number of cores for your CPU: It returns 1 when your CPU has 4
> physical cores. We use a Windows system function to determine the number
> of physical cores. I think that's a Windows bug and we need to find
> a workaround. To be able to assign more guest CPUs to your VMs you
> can use 'VBoxManage modifyvm VM_NAME --cpus ...'.
> 
> Kind regards,
> 
> Frank

-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to