Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64
@ 2016-01-08 13:29 Gustavo Zacarias
  2016-01-08 17:34 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2016-01-08 13:29 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 board/qemu/x86/linux-4.3.config    | 1 +
 board/qemu/x86_64/linux-4.3.config | 1 +
 2 files changed, 2 insertions(+)

diff --git a/board/qemu/x86/linux-4.3.config b/board/qemu/x86/linux-4.3.config
index 20726c3..4dcc995 100644
--- a/board/qemu/x86/linux-4.3.config
+++ b/board/qemu/x86/linux-4.3.config
@@ -1,4 +1,5 @@
 CONFIG_SYSVIPC=y
+CONFIG_SMP=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
diff --git a/board/qemu/x86_64/linux-4.3.config b/board/qemu/x86_64/linux-4.3.config
index 20726c3..4dcc995 100644
--- a/board/qemu/x86_64/linux-4.3.config
+++ b/board/qemu/x86_64/linux-4.3.config
@@ -1,4 +1,5 @@
 CONFIG_SYSVIPC=y
+CONFIG_SMP=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64
  2016-01-08 13:29 [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64 Gustavo Zacarias
@ 2016-01-08 17:34 ` Peter Korsgaard
  2016-01-08 17:37   ` Gustavo Zacarias
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2016-01-08 17:34 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> 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?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64
  2016-01-08 17:34 ` Peter Korsgaard
@ 2016-01-08 17:37   ` Gustavo Zacarias
  2016-01-08 18:06     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2016-01-08 17:37 UTC (permalink / raw)
  To: buildroot

On 08/01/16 14:34, Peter Korsgaard wrote:

> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64
  2016-01-08 17:37   ` Gustavo Zacarias
@ 2016-01-08 18:06     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2016-01-08 18:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > On 08/01/16 14:34, Peter Korsgaard wrote:
 >> 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.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-08 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08 13:29 [Buildroot] [PATCH] configs/qemu: enable SMP for x86 & x86_64 Gustavo Zacarias
2016-01-08 17:34 ` Peter Korsgaard
2016-01-08 17:37   ` Gustavo Zacarias
2016-01-08 18:06     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox