aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-01-08 10:29:50 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-01-08 19:04:23 +0100
commit1968440f35ff5d035f4767c29ed3fd6446965523 (patch)
treede7a647b1cf7515594676ab7159762a4fa5b7267 /board
parentec7fba46c98f240712cb79fb7e6b5a138962ab93 (diff)
downloadbuildroot-1968440f35ff5d035f4767c29ed3fd6446965523.tar.gz
buildroot-1968440f35ff5d035f4767c29ed3fd6446965523.tar.bz2
configs/qemu: enable SMP for x86 & x86_64
This is the 21st century, so enable SMP for them. [Peter: add note to readme.txt about how emulate a SMP system in QEMU] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/x86/linux-4.3.config1
-rw-r--r--board/qemu/x86/readme.txt2
-rw-r--r--board/qemu/x86_64/linux-4.3.config1
-rw-r--r--board/qemu/x86_64/readme.txt2
4 files changed, 6 insertions, 0 deletions
diff --git a/board/qemu/x86/linux-4.3.config b/board/qemu/x86/linux-4.3.config
index 20726c3dc4..4dcc995bfd 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/readme.txt b/board/qemu/x86/readme.txt
index da8384aa0a..62c51b0f99 100644
--- a/board/qemu/x86/readme.txt
+++ b/board/qemu/x86/readme.txt
@@ -2,6 +2,8 @@ Run the emulation with:
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user
+Optionally add -smp N to emulate a SMP system with N CPUs.
+
The login prompt will appear in the graphical window.
Tested with QEMU 2.3.0
diff --git a/board/qemu/x86_64/linux-4.3.config b/board/qemu/x86_64/linux-4.3.config
index 20726c3dc4..4dcc995bfd 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
diff --git a/board/qemu/x86_64/readme.txt b/board/qemu/x86_64/readme.txt
index 7c3956334a..e2be5745ea 100644
--- a/board/qemu/x86_64/readme.txt
+++ b/board/qemu/x86_64/readme.txt
@@ -2,6 +2,8 @@ Run the emulation with:
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user
+Optionally add -smp N to emulate a SMP system with N CPUs.
+
The login prompt will appear in the graphical window.
Tested with QEMU 2.3.0