Yep, that was it, forgot to switch to MP in the guest. Guest is now reporting:

gon2# sysctl -a|grep cpu
kern.ccpu=1948
hw.ncpu=6
hw.cpuspeed=3600
hw.ncpufound=6
hw.ncpuonline=6
hw.blockcpu=SL
machdep.cpuvendor=AuthenticAMD
machdep.cpuid=0x870f10
machdep.cpufeature=0x178bab7f

Thanks!
Peter
Oct 12, 2026, 13:02 by [email protected]:

> On 12.10.2026 11:54, ptr wrote:
>
>> The guest multi processor changes committed here (Yay!) 
>> https://github.com/openbsd/src/commit/d74b165ebc85c9aaf5150f25e6088f52d9fc0f04
>>  - is this complete now?
>>
>> Testing on latest snapshot (VM with 6c), the guest reports hw.ncpufound=6 
>> but only 1 is online:
>>
>
> running a MP kernel? Show dmesg
>
>> gon2# sysctl -a | grep cpu
>> kern.ccpu=1948
>> hw.ncpu=1
>> hw.cpuspeed=3600
>> hw.ncpufound=6
>> hw.ncpuonline=1
>> hw.blockcpu=
>> machdep.cpuvendor=AuthenticAMD
>> machdep.cpuid=0x870f10
>> machdep.cpufeature=0x178bab7f
>>
>> Also tested different hw.blockcpu values, no change.
>> Best,
>> Peter
>>
>
> --
> Mark Patruck ( mark at wrapped.cx )
> GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
>  
> https://www.wrapped.cx
>

Reply via email to