diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-01-08 10:29:50 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-01-08 19:04:23 +0100 |
commit | 1968440f35ff5d035f4767c29ed3fd6446965523 (patch) | |
tree | de7a647b1cf7515594676ab7159762a4fa5b7267 /board/qemu | |
parent | ec7fba46c98f240712cb79fb7e6b5a138962ab93 (diff) |
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/qemu')
-rw-r--r-- | board/qemu/x86/linux-4.3.config | 1 | ||||
-rw-r--r-- | board/qemu/x86/readme.txt | 2 | ||||
-rw-r--r-- | board/qemu/x86_64/linux-4.3.config | 1 | ||||
-rw-r--r-- | board/qemu/x86_64/readme.txt | 2 |
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 20726c3dc..4dcc995bf 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 da8384aa0..62c51b0f9 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 20726c3dc..4dcc995bf 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 7c3956334..e2be5745e 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 |