qemu gives only 1 cpu with command -smp 4

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Typan
Posts: 17
Joined: Mon Sep 29, 2025 10:12 am
Libera.chat IRC: Typan

qemu gives only 1 cpu with command -smp 4

Post by Typan »

Hi,

When I start qemu on a silicon based macOS and with command -smp 4 it only comes up with 1 cpu instead of 4 cpu's.

Does anybody knowns how this comes?

Thanks in advance.

Gr.,
Robert
ashy5000
Posts: 8
Joined: Tue Jun 09, 2026 12:48 am

Re: qemu gives only 1 cpu with command -smp 4

Post by ashy5000 »

Hi,

How are you detecting CPUs? In most cases, I would recommend going through the MADT.
- Ashy5000
https://github.com/Ashy5000/muse

Live long and prosper!
Typan
Posts: 17
Joined: Mon Sep 29, 2025 10:12 am
Libera.chat IRC: Typan

Re: qemu gives only 1 cpu with command -smp 4

Post by Typan »

Hi,

I get the CPU with the __MP__ structure. But I think it has something to do with silicon chip of apple which causes the problem. Still tried everything and also MADT but still have the same problem.

Maybe someone has the same issue?

Kind regards,
Robert
Post Reply