Skip to contentSkip to conversation

configs/qemu: enable SMP for x86 & x86_64

PATCH New Gustavo Zacarias 2 participants 4 messages Jan 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/qemu: enable SMP for x86 & x86_64

This is the 21st century, so enable SMP for them.

---
 board/qemu/x86/linux-4.3.config    | 1 +
 board/qemu/x86_64/linux-4.3.config | 1 +
 2 files changed, 2 insertions(+)
board/qemu/x86/linux-4.3.config +1 -0
index 20726c3..4dcc995 100644
@@ -1,4 +1,5 @@
 CONFIG_SYSVIPC=y
+CONFIG_SMP=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
board/qemu/x86_64/linux-4.3.config +1 -0
index 20726c3..4dcc995 100644
@@ -1,4 +1,5 @@
 CONFIG_SYSVIPC=y
+CONFIG_SMP=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 configs/qemu: enable SMP for x86 & x86_64

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

This is the 21st century, so enable SMP for them.

True. Shouldn't we then change board/qemu/x86*/readme.txt to pass -smp <n> to qemu?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 configs/qemu: enable SMP for x86 & x86_64

Quoted 2 lines · Peter Korsgaard

True. Shouldn't we then change board/qemu/x86*/readme.txt to pass -smp <n> to qemu?

Hi.
Maybe, however it's optional, a smp-enabled kernel will boot just fine in UP, and maybe a user doesn't have a SMP host which would probably have a steep price i think (unlikely to be the case, but still). Regards.

#3 lore raw

PATCH 1/1 configs/qemu: enable SMP for x86 & x86_64

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Quoted 2 lines · Peter Korsgaard

True. Shouldn't we then change board/qemu/x86*/readme.txt to pass -smp <n> to qemu?

Hi.
Maybe, however it's optional, a smp-enabled kernel will boot just fine in UP, and maybe a user doesn't have a SMP host which would probably have a steep price i think (unlikely to be the case, but still). Regards.

True. I've committed it after adding a comment in the two readme's about the qemu -smp option, thanks.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard